2015-11-18 13:50:48 +03:00
|
|
|
<header class="modal-header">
|
|
|
|
<h1>Please re-authenticate</h1>
|
|
|
|
</header>
|
2020-05-28 19:11:21 +03:00
|
|
|
<a class="close" href="" role="button" title="Close" {{action "closeModal"}}>{{svg-jar "close"}}<span class="hidden">Close</span></a>
|
2015-11-18 13:50:48 +03:00
|
|
|
|
2019-12-13 17:20:29 +03:00
|
|
|
<div class="modal-body {{if this.authenticationError 'error'}}">
|
2016-09-30 14:43:40 +03:00
|
|
|
|
2017-09-04 22:17:04 +03:00
|
|
|
<form id="login" class="login-form" method="post" novalidate="novalidate" {{action "confirm" on="submit"}}>
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhValidationStatusContainer @class="password-wrap" @errors={{this.errors}} @property="password" @hasValidated={{this.hasValidated}}>
|
|
|
|
<GhTextInput
|
|
|
|
@class="password"
|
|
|
|
@type="password"
|
|
|
|
@placeholder="Password"
|
|
|
|
@name="password"
|
|
|
|
@value={{readonly this.password}}
|
|
|
|
@input={{action (mut this.password) value="target.value"}} />
|
|
|
|
</GhValidationStatusContainer>
|
2017-09-04 22:17:04 +03:00
|
|
|
<div>
|
2021-03-05 15:16:43 +03:00
|
|
|
<GhTaskButton @buttonText="Log in" @task={{this.reauthenticate}} @class="gh-btn gh-btn-black gh-btn-icon" @type="submit" />
|
2017-09-04 22:17:04 +03:00
|
|
|
</div>
|
|
|
|
</form>
|
2016-09-30 14:43:40 +03:00
|
|
|
|
2019-12-13 17:20:29 +03:00
|
|
|
{{#if this.authenticationError}}
|
|
|
|
<p class="response">{{this.authenticationError}}</p>
|
2015-11-18 13:50:48 +03:00
|
|
|
{{/if}}
|
2017-02-16 22:50:05 +03:00
|
|
|
</div>
|