Skip to content
Snippets Groups Projects
Commit 937bcd65 authored by ale's avatar ale
Browse files

Set autocomplete=off on input fields

parent 95b32321
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@
{{end}}
<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>
......
......@@ -20,13 +20,13 @@
value="{{.Username}}"
{{else}}
placeholder="Username"
{{end}} required autofocus>
{{end}} autocomplete="off" required autofocus>
<label for="inputPassword" class="sr-only">
Password
</label>
<input type="password" name="password" id="inputPassword"
class="form-control" placeholder="Password" required>
class="form-control" placeholder="Password" autocomplete="off" required>
{{if .AccountRecoveryURL}}
<p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment