2022-11-11 19:21:03 +03:00
|
|
|
<div class="modal-content" data-test-modal="re-authenticate">
|
2023-01-11 14:39:04 +03:00
|
|
|
<form id="login" class="gh-signin" method="post" novalidate="novalidate" {{on "submit" (perform this.reauthenticateTask)}}>
|
|
|
|
<header>
|
|
|
|
<h1>Are you still here?</h1>
|
|
|
|
<p>Your authenticated session expired. Enter your password to continue where you left off.</p>
|
|
|
|
</header>
|
2022-11-11 19:21:03 +03:00
|
|
|
|
2023-01-11 14:39:04 +03:00
|
|
|
<div class="form-group {{if this.authenticationError 'error'}}">
|
|
|
|
<label for="password">Password</label>
|
|
|
|
<span class="gh-input-icon gh-icon-lock forgotten-wrap" {{validation-status errors=this.signup.errors property="password" hasValidated=this.signup.hasValidated}}>
|
2022-11-11 19:21:03 +03:00
|
|
|
<input
|
|
|
|
type="password"
|
|
|
|
class="gh-input password"
|
2023-01-11 14:39:04 +03:00
|
|
|
placeholder="•••••••••••••••"
|
2022-11-11 19:21:03 +03:00
|
|
|
name="password"
|
|
|
|
value={{this.signup.password}}
|
|
|
|
aria-label="Your password"
|
|
|
|
{{on "input" this.setPassword}}
|
|
|
|
/>
|
2023-01-11 14:39:04 +03:00
|
|
|
</span>
|
|
|
|
</div>
|
2022-11-11 19:21:03 +03:00
|
|
|
|
2023-01-11 14:39:04 +03:00
|
|
|
<GhTaskButton
|
|
|
|
@type="submit"
|
|
|
|
@buttonText="Sign in →"
|
|
|
|
@runningText="Authenticating"
|
|
|
|
@showSuccess={{false}}
|
|
|
|
@task={{this.reauthenticateTask}}
|
|
|
|
@class="login gh-btn gh-btn-login gh-btn-block gh-btn-icon"
|
|
|
|
style={{accent-color-background}}
|
|
|
|
/>
|
2022-11-11 19:21:03 +03:00
|
|
|
|
|
|
|
{{#if this.authenticationError}}
|
|
|
|
<p class="response">{{this.authenticationError}}</p>
|
|
|
|
{{/if}}
|
2023-01-11 14:39:04 +03:00
|
|
|
</form>
|
2022-11-11 19:21:03 +03:00
|
|
|
</div>
|