File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 20
20
21
21
<div class="inline field {{if .Err_Auth}}error{{end}}">
22
22
<label for="auth_token">{{.locale.Tr "access_token"}}</label>
23
- <input id="auth_token" name="auth_token" type="password" value="{{.auth_token}}" {{if not .auth_token}} data-need-clear="true" {{end}}>
23
+ <input id="auth_token" name="auth_token" type="password" autocomplete="new-password" value="{{.auth_token}}" {{if not .auth_token}} data-need-clear="true" {{end}}>
24
24
<a target="_blank" href="https://docs.gitea.io/en-us/api-usage">{{svg "octicon-question"}}</a>
25
25
</div>
26
26
Original file line number Diff line number Diff line change 20
20
21
21
<div class="inline field {{if .Err_Auth}}error{{end}}">
22
22
<label for="auth_token">{{.locale.Tr "access_token"}}</label>
23
- <input id="auth_token" name="auth_token" type="password" value="{{.auth_token}}" {{if not .auth_token}}data-need-clear="true"{{end}}>
23
+ <input id="auth_token" name="auth_token" type="password" autocomplete="new-password" value="{{.auth_token}}" {{if not .auth_token}}data-need-clear="true"{{end}}>
24
24
<a target="_blank" href="https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token">{{svg "octicon-question"}}</a>
25
25
<span class="help">
26
26
{{.locale.Tr "repo.migrate.github_token_desc"}}
Original file line number Diff line number Diff line change 20
20
21
21
<div class="inline field {{if .Err_Auth}}error{{end}}">
22
22
<label for="auth_token">{{.locale.Tr "access_token"}}</label>
23
- <input id="auth_token" name="auth_token" type="password" value="{{.auth_token}}" {{if not .auth_token}}data-need-clear="true"{{end}}>
23
+ <input id="auth_token" name="auth_token" type="password" autocomplete="new-password" value="{{.auth_token}}" {{if not .auth_token}}data-need-clear="true"{{end}}>
24
24
<a target="_blank" href="https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html">{{svg "octicon-question"}}</a>
25
25
</div>
26
26
Original file line number Diff line number Diff line change 20
20
21
21
<div class="inline field {{if .Err_Auth}}error{{end}}">
22
22
<label for="auth_token">{{.locale.Tr "access_token"}}</label>
23
- <input id="auth_token" name="auth_token" type="password" value="{{.auth_token}}" {{if not .auth_token}} data-need-clear="true" {{end}}>
23
+ <input id="auth_token" name="auth_token" type="password" autocomplete="new-password" value="{{.auth_token}}" {{if not .auth_token}} data-need-clear="true" {{end}}>
24
24
<!-- <a target="_blank" href="https://docs.gitea.io/en-us/api-usage">{{svg "octicon-question"}}</a> -->
25
25
</div>
26
26
You can’t perform that action at this time.
0 commit comments