Commit 937bcd65 authored by ale's avatar ale

Set autocomplete=off on input fields

parent 95b32321
Pipeline #2232 failed with stages
in 23 seconds
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
{{end}} {{end}}
<label for="inputOTP" class="sr-only">OTP</label> <label for="inputOTP" class="sr-only">OTP</label>
<input type="text" id="inputOTP" name="otp" size="6" class="form-control" required autofocus> <input type="text" id="inputOTP" name="otp" size="6" class="form-control" required autofocus autocomplete="off">
<button type="submit" class="btn btn-primary">Login</button> <button type="submit" class="btn btn-primary">Login</button>
......
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
value="{{.Username}}" value="{{.Username}}"
{{else}} {{else}}
placeholder="Username" placeholder="Username"
{{end}} required autofocus> {{end}} autocomplete="off" required autofocus>
<label for="inputPassword" class="sr-only"> <label for="inputPassword" class="sr-only">
Password Password
</label> </label>
<input type="password" name="password" id="inputPassword" <input type="password" name="password" id="inputPassword"
class="form-control" placeholder="Password" required> class="form-control" placeholder="Password" autocomplete="off" required>
{{if .AccountRecoveryURL}} {{if .AccountRecoveryURL}}
<p> <p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment