2015-07-08 01:14:55 +03:00
|
|
|
<div class="gh-flow">
|
|
|
|
<div class="gh-flow-content-wrap">
|
|
|
|
<section class="gh-flow-content fade-in">
|
|
|
|
<form id="reset" class="gh-signin" method="post" novalidate="novalidate" {{action "submit" on="submit"}}>
|
2022-03-08 20:30:46 +03:00
|
|
|
<header>
|
|
|
|
<div class="gh-site-icon" style={{site-icon-style}}></div>
|
|
|
|
<h1>Reset your password.</h1>
|
|
|
|
</header>
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhFormGroup @errors={{this.errors}} @hasValidated={{this.hasValidated}} @property="newPassword">
|
2017-07-20 14:06:02 +03:00
|
|
|
<span class="gh-input-icon gh-icon-lock">
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhTextInput
|
|
|
|
@type="password"
|
|
|
|
@name="newpassword"
|
2020-05-07 12:33:27 +03:00
|
|
|
@placeholder="New password"
|
2022-03-08 20:30:46 +03:00
|
|
|
@class="password reset-password"
|
2020-01-16 18:14:03 +03:00
|
|
|
@autocorrect="off"
|
|
|
|
@shouldFocus={{true}}
|
|
|
|
@value={{readonly this.newPassword}}
|
|
|
|
@input={{action (mut this.newPassword) value="target.value"}} />
|
2017-07-20 14:06:02 +03:00
|
|
|
</span>
|
2020-01-16 18:14:03 +03:00
|
|
|
</GhFormGroup>
|
|
|
|
<GhFormGroup @errors={{this.errors}} @hasValidated={{this.hasValidated}} @property="ne2Password">
|
2017-07-20 14:06:02 +03:00
|
|
|
<span class="gh-input-icon gh-icon-lock">
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhTextInput
|
|
|
|
@type="password"
|
|
|
|
@name="ne2password"
|
2020-05-07 12:33:27 +03:00
|
|
|
@placeholder="Confirm new password"
|
2022-03-08 20:30:46 +03:00
|
|
|
@class="password reset-password"
|
2020-01-16 18:14:03 +03:00
|
|
|
@autocorrect="off"
|
|
|
|
@value={{readonly this.ne2Password}}
|
|
|
|
@input={{action (mut this.ne2Password) value="target.value"}} />
|
2017-07-20 14:06:02 +03:00
|
|
|
</span>
|
2020-01-16 18:14:03 +03:00
|
|
|
</GhFormGroup>
|
2015-08-25 14:32:29 +03:00
|
|
|
|
2022-03-08 20:30:46 +03:00
|
|
|
<GhTaskButton @buttonText="Save new password" @task={{this.resetPassword}} @class="gh-btn gh-btn-reset gh-btn-block gh-btn-icon" @type="submit" @autoWidth="false" />
|
2015-07-08 01:14:55 +03:00
|
|
|
</form>
|
2015-08-25 14:32:29 +03:00
|
|
|
|
2019-12-13 17:20:29 +03:00
|
|
|
<p class="main-error">{{this.flowErrors}} </p>
|
2015-07-08 01:14:55 +03:00
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|