aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/migrate/github.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/migrate/github.tmpl')
-rw-r--r--templates/repo/migrate/github.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/migrate/github.tmpl b/templates/repo/migrate/github.tmpl
index 63b5e83a2c..c591f2a465 100644
--- a/templates/repo/migrate/github.tmpl
+++ b/templates/repo/migrate/github.tmpl
@@ -20,7 +20,7 @@
<div class="inline field {{if .Err_Auth}}error{{end}}">
<label for="auth_token">{{.locale.Tr "access_token"}}</label>
- <input id="auth_token" name="auth_token" value="{{.auth_token}}" {{if not .auth_token}}data-need-clear="true"{{end}}>
+ <input id="auth_token" name="auth_token" type="password" autocomplete="new-password" value="{{.auth_token}}" {{if not .auth_token}}data-need-clear="true"{{end}}>
<a target="_blank" href="https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token">{{svg "octicon-question"}}</a>
<span class="help">
{{.locale.Tr "repo.migrate.github_token_desc"}}