Skip to content

Commit c24cd92

Browse files
committed
Prevent keyboard focus on "Forgot password"
1 parent c0b5a84 commit c24cd92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/user/auth/signin_inner.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{{if or (not .DisablePassword) .LinkAccountMode}}
2020
<div class="required field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn))}}error{{end}} form-field-content-aside-label">
2121
<label for="password">{{ctx.Locale.Tr "password"}}</label>
22-
<a href="{{AppSubUrl}}/user/forgot_password">{{ctx.Locale.Tr "auth.forgot_password"}}</a>
22+
<a href="{{AppSubUrl}}/user/forgot_password" tabindex="-1">{{ctx.Locale.Tr "auth.forgot_password"}}</a>
2323
<input id="password" name="password" type="password" value="{{.password}}" autocomplete="current-password" required>
2424
</div>
2525
{{end}}

0 commit comments

Comments
 (0)