Browse Source
fix: add type=text for user_name (password manager) (#12250)
* fix: add type=text for user_name (password manager)
* Update templates/user/auth/reset_passwd.tmpl
Co-authored-by: jaqra <48099350+jaqra@users.noreply.github.com>
Co-authored-by: jaqra <48099350+jaqra@users.noreply.github.com>
for-closed-social
Tchoupinax
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with
6 additions and
6 deletions
-
templates/admin/user/new.tmpl
-
templates/user/auth/finalize_openid.tmpl
-
templates/user/auth/signin_inner.tmpl
-
templates/user/auth/signup_inner.tmpl
-
templates/user/auth/signup_openid_connect.tmpl
-
templates/user/auth/signup_openid_register.tmpl
|
|
@ -30,7 +30,7 @@ |
|
|
|
</div> |
|
|
|
<div class="required field {{if .Err_UserName}}error{{end}}"> |
|
|
|
<label for="user_name">{{.i18n.Tr "username"}}</label> |
|
|
|
<input id="user_name" name="user_name" value="{{.user_name}}" autofocus required> |
|
|
|
<input id="user_name" type="text" name="user_name" value="{{.user_name}}" autofocus required> |
|
|
|
</div> |
|
|
|
<div class="required field {{if .Err_Email}}error{{end}}"> |
|
|
|
<label for="email">{{.i18n.Tr "email"}}</label> |
|
|
|
|
|
@ -13,7 +13,7 @@ |
|
|
|
{{.CsrfTokenHtml}} |
|
|
|
<div class="required inline field {{if .Err_UserName}}error{{end}}"> |
|
|
|
<label for="user_name">{{.i18n.Tr "home.uname_holder"}}</label> |
|
|
|
<input id="user_name" name="user_name" value="{{.user_name}}" autofocus required> |
|
|
|
<input id="user_name" type="text" name="user_name" value="{{.user_name}}" autofocus required> |
|
|
|
</div> |
|
|
|
<div class="required inline field {{if .Err_Password}}error{{end}}"> |
|
|
|
<label for="password">{{.i18n.Tr "password"}}</label> |
|
|
|
|
|
@ -13,7 +13,7 @@ |
|
|
|
{{.CsrfTokenHtml}} |
|
|
|
<div class="required inline field {{if and (.Err_UserName) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn))}}error{{end}}"> |
|
|
|
<label for="user_name">{{.i18n.Tr "home.uname_holder"}}</label> |
|
|
|
<input id="user_name" name="user_name" value="{{.user_name}}" autofocus required> |
|
|
|
<input id="user_name" type="text" name="user_name" value="{{.user_name}}" autofocus required> |
|
|
|
</div> |
|
|
|
{{if or (not .DisablePassword) .LinkAccountMode}} |
|
|
|
<div class="required inline field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn))}}error{{end}}"> |
|
|
|
|
|
@ -19,7 +19,7 @@ |
|
|
|
{{else}} |
|
|
|
<div class="required inline field {{if and (.Err_UserName) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister))}}error{{end}}"> |
|
|
|
<label for="user_name">{{.i18n.Tr "username"}}</label> |
|
|
|
<input id="user_name" name="user_name" value="{{.user_name}}" autofocus required> |
|
|
|
<input id="user_name" type="text" name="user_name" value="{{.user_name}}" autofocus required> |
|
|
|
</div> |
|
|
|
<div class="required inline field {{if .Err_Email}}error{{end}}"> |
|
|
|
<label for="email">{{.i18n.Tr "email"}}</label> |
|
|
|
|
|
@ -14,7 +14,7 @@ |
|
|
|
{{.CsrfTokenHtml}} |
|
|
|
<div class="required inline field {{if .Err_UserName}}error{{end}}"> |
|
|
|
<label for="user_name">{{.i18n.Tr "home.uname_holder"}}</label> |
|
|
|
<input id="user_name" name="user_name" value="{{.user_name}}" autofocus required> |
|
|
|
<input id="user_name" type="text" name="user_name" value="{{.user_name}}" autofocus required> |
|
|
|
</div> |
|
|
|
<div class="required inline field {{if .Err_Password}}error{{end}}"> |
|
|
|
<label for="password">{{.i18n.Tr "password"}}</label> |
|
|
|
|
|
@ -14,7 +14,7 @@ |
|
|
|
{{.CsrfTokenHtml}} |
|
|
|
<div class="required inline field {{if .Err_UserName}}error{{end}}"> |
|
|
|
<label for="user_name">{{.i18n.Tr "username"}}</label> |
|
|
|
<input id="user_name" name="user_name" value="{{.user_name}}" autofocus required> |
|
|
|
<input id="user_name" type="text" name="user_name" value="{{.user_name}}" autofocus required> |
|
|
|
</div> |
|
|
|
<div class="required inline field {{if .Err_Email}}error{{end}}"> |
|
|
|
<label for="email">{{.i18n.Tr "email"}}</label> |
|
|
|