mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
🐛 Fixed autofocus on password reset screen
no issue - autofocus was running on both inputs so the "confirm" input was winning out - updated copy
This commit is contained in:
parent
0ea722f647
commit
b5e5469410
1 changed files with 3 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
||||||
<GhTextInput
|
<GhTextInput
|
||||||
@type="password"
|
@type="password"
|
||||||
@name="newpassword"
|
@name="newpassword"
|
||||||
@placeholder="Password"
|
@placeholder="New password"
|
||||||
@class="password"
|
@class="password"
|
||||||
@autocorrect="off"
|
@autocorrect="off"
|
||||||
@shouldFocus={{true}}
|
@shouldFocus={{true}}
|
||||||
|
@ -22,16 +22,15 @@
|
||||||
<GhTextInput
|
<GhTextInput
|
||||||
@type="password"
|
@type="password"
|
||||||
@name="ne2password"
|
@name="ne2password"
|
||||||
@placeholder="Confirm Password"
|
@placeholder="Confirm new password"
|
||||||
@class="password"
|
@class="password"
|
||||||
@autocorrect="off"
|
@autocorrect="off"
|
||||||
@shouldFocus={{true}}
|
|
||||||
@value={{readonly this.ne2Password}}
|
@value={{readonly this.ne2Password}}
|
||||||
@input={{action (mut this.ne2Password) value="target.value"}} />
|
@input={{action (mut this.ne2Password) value="target.value"}} />
|
||||||
</span>
|
</span>
|
||||||
</GhFormGroup>
|
</GhFormGroup>
|
||||||
|
|
||||||
<GhTaskButton @buttonText="Reset Password" @task={{this.resetPassword}} @class="gh-btn gh-btn-blue gh-btn-block gh-btn-icon" @type="submit" @autoWidth="false" />
|
<GhTaskButton @buttonText="Save new password" @task={{this.resetPassword}} @class="gh-btn gh-btn-blue gh-btn-block gh-btn-icon" @type="submit" @autoWidth="false" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<p class="main-error">{{this.flowErrors}} </p>
|
<p class="main-error">{{this.flowErrors}} </p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue