2021-06-07 12:05:46 +03:00
|
|
|
<header class="modal-header">
|
|
|
|
<h1>Reset all passwords</h1>
|
|
|
|
</header>
|
|
|
|
<a class="close" href="" role="button" title="Close" {{action "closeModal"}}>{{svg-jar "close"}}<span class="hidden">Close</span></a>
|
|
|
|
|
2021-06-28 12:16:06 +03:00
|
|
|
<div class="modal-body gh-modal-reset-passwords">
|
|
|
|
<p>You're about to end all active staff user sessions and trigger a password reset for everyone (including yourself). Are you sure?</p>
|
|
|
|
<div class="flex mt2 mb2">
|
|
|
|
<div class="for-checkbox">
|
|
|
|
<label class="checkbox">
|
|
|
|
<input type="checkbox" checked={{this.isChecked}} {{on "click" (action "toggleCheckbox")}} class="gh-input" name="checkbox" data-test-checkbox="reset-all-passwords">
|
|
|
|
<span class="input-toggle-component"></span>
|
|
|
|
</label>
|
2021-06-07 12:05:46 +03:00
|
|
|
</div>
|
2021-06-28 12:16:06 +03:00
|
|
|
<div>
|
|
|
|
<h4>Yes, end sessions and reset passwords for all users.</h4>
|
|
|
|
<p class="description">Upon submission, you will be logged out. Please check your email to reset your password.</p>
|
2021-06-07 12:05:46 +03:00
|
|
|
</div>
|
2021-06-28 12:16:06 +03:00
|
|
|
</div>
|
2021-06-07 12:05:46 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button {{action "closeModal"}} class="gh-btn"><span>Cancel</span></button>
|
|
|
|
<GhTaskButton @buttonText="Reset Passwords" @task={{this.resetPasswords}} @class="gh-btn gh-btn-red gh-btn-icon" disabled={{this.isConfirmDisabled}} />
|
|
|
|
</div>
|