You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dan Church 67da4c1b25
Set type="password" on all auth_token fields (#22175)
Set `type="password"` on all `auth_token` fields

Seen when migrating from other hosting platforms.

1. Prevents exposing the token to screen capture/cameras/eyeballs.
2. Prevents the browser from saving the value in its autocomplete
dictionary, which often is not secure.

![exposed auth
token](https://user-images.githubusercontent.com/615684/208541005-e2c9c6b0-3c6c-4a56-95d9-357b987aa0c8.png)

Closes #22174

---------

Signed-off-by: Dan Church <amphetamachine@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
1 year ago
..
codebase.tmpl Add context cache as a request level cache (#22294) 1 year ago
git.tmpl Add context cache as a request level cache (#22294) 1 year ago
gitbucket.tmpl Add context cache as a request level cache (#22294) 1 year ago
gitea.tmpl Set type="password" on all auth_token fields (#22175) 1 year ago
github.tmpl Set type="password" on all auth_token fields (#22175) 1 year ago
gitlab.tmpl Set type="password" on all auth_token fields (#22175) 1 year ago
gogs.tmpl Set type="password" on all auth_token fields (#22175) 1 year ago
helper.tmpl Add templates to customize text when creating and migrating repositories 2 years ago
migrate.tmpl Group template helper functions, remove `Printf`, improve template error messages (#23982) 1 year ago
migrating.tmpl Remove incorrect HTML self close tag (#23748) 1 year ago
onedev.tmpl Add context cache as a request level cache (#22294) 1 year ago
options.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago