diff options
author | Tchoupinax <corentinfiloche@hotmail.fr> | 2020-07-15 15:48:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-15 16:48:50 +0300 |
commit | fd9e8951d8906b5c523a9621471c638eae769620 (patch) | |
tree | c08df039db826e673c4474851b8a9c8b88260f2e /templates/admin/user | |
parent | 670db99f4fa26c9e97ce7945b61d9a6f20558634 (diff) | |
download | gitea-fd9e8951d8906b5c523a9621471c638eae769620.tar.gz gitea-fd9e8951d8906b5c523a9621471c638eae769620.zip |
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>
Diffstat (limited to 'templates/admin/user')
-rw-r--r-- | templates/admin/user/new.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/user/new.tmpl b/templates/admin/user/new.tmpl index 06b7d70efe..44cd0049b7 100644 --- a/templates/admin/user/new.tmpl +++ b/templates/admin/user/new.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> |