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.
gitea/templates
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>
2 years ago
..
admin Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Refactor delete_modal_actions template and use it for project column related actions (#24097) 2 years ago
code Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
devtest Refactor locale number (#24134) 2 years ago
explore Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
mail Remove incorrect HTML self close tag (#23748) 2 years ago
org Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
package Refactor delete_modal_actions template and use it for project column related actions (#24097) 2 years ago
projects Refactor delete_modal_actions template and use it for project column related actions (#24097) 2 years ago
repo Set type="password" on all auth_token fields (#22175) 2 years ago
shared Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
status Show friendly 500 error page to users and developers (#24110) 2 years ago
swagger Add activity feeds API (#23494) 2 years ago
user Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2 years ago
install.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago