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

Set autocomplete=off on input fields

parent 95b32321
Branches
No related tags found
No related merge requests found
...@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment