fix: autofill related issues (#6201)

This commit is contained in:
Florian Forster 2023-07-14 14:35:25 +02:00 committed by GitHub
parent 80961125a7
commit bcf4bfc585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
{{ .CSRF }} {{ .CSRF }}
<input type="hidden" name="authRequestID" value="{{ .AuthReqID }}" /> <input type="hidden" name="authRequestID" value="{{ .AuthReqID }}" />
<input type="hidden" name="loginname" value="{{ .LoginName }}" autocomplete="username" /> <input type="text" name="loginname" value="{{ .LoginName }}" autocomplete="username" class="hidden" />
<div class="fields"> <div class="fields">
<div class="field"> <div class="field">

View File

@ -16,7 +16,7 @@
<input type="hidden" name="userID" value="{{ .UserID }}" /> <input type="hidden" name="userID" value="{{ .UserID }}" />
<input type="hidden" name="passwordSet" value="{{ .PasswordSet }}" /> <input type="hidden" name="passwordSet" value="{{ .PasswordSet }}" />
<input type="hidden" name="orgID" value="{{ .OrgID }}" /> <input type="hidden" name="orgID" value="{{ .OrgID }}" />
<input type="hidden" name="loginname" value="{{ .LoginName }}" autocomplete="username" /> <input type="text" name="loginname" value="{{ .LoginName }}" autocomplete="username" class="hidden" />
<div class="fields"> <div class="fields">
<div class="field"> <div class="field">

View File

@ -12,7 +12,7 @@
{{ .CSRF }} {{ .CSRF }}
<input type="hidden" name="authRequestID" value="{{ .AuthReqID }}" /> <input type="hidden" name="authRequestID" value="{{ .AuthReqID }}" />
<input type="hidden" name="loginName" value="{{ .LoginName }}" autocomplete="username" /> <input type="text" name="loginName" value="{{ .LoginName }}" autocomplete="username" class="hidden" />
<div class="fields"> <div class="fields">
<label class="lgn-label" for="password">{{t "Password.PasswordLabel"}}</label> <label class="lgn-label" for="password">{{t "Password.PasswordLabel"}}</label>