prevent some inputs from autocompleting

This commit is contained in:
Evert Prants 2017-09-15 14:00:48 +03:00
parent 738a8c53fa
commit 93077c083f
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
5 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ block body
label(for="mcinclude") Include Minecraft Username label(for="mcinclude") Include Minecraft Username
input(id="mcinclude" type="checkbox") input(id="mcinclude" type="checkbox")
.mcuname(style="display: none;") .mcuname(style="display: none;")
input(id="mcusername") input(id="mcusername", autocomplete="off")
.buttoncont .buttoncont
a.button.donate(name="submit", onclick="$(this).closest('form').submit()") a.button.donate(name="submit", onclick="$(this).closest('form').submit()")
i.fa.fa-fw.fa-paypal i.fa.fa-fw.fa-paypal

View File

@ -24,6 +24,6 @@ block body
label(for="password") New Password label(for="password") New Password
input(type="password", name="password", id="password") input(type="password", name="password", id="password")
label(for="password_repeat") Repeat New Password label(for="password_repeat") Repeat New Password
input(type="password", name="password_repeat", id="password_repeat") input(type="password", name="password_repeat", id="password_repeat", autocomplete="off")
div#repeatcheck(style="display: none") div#repeatcheck(style="display: none")
input(type="submit", value="Change") input(type="submit", value="Change")

View File

@ -26,7 +26,7 @@ block body
label(for="password") Password label(for="password") Password
input(type="password", name="password", id="password") input(type="password", name="password", id="password")
label(for="password_repeat") Repeat Password label(for="password_repeat") Repeat Password
input(type="password", name="password_repeat", id="password_repeat") input(type="password", name="password_repeat", id="password_repeat", autocomplete="off")
div#repeatcheck(style="display: none") div#repeatcheck(style="display: none")
if recaptcha if recaptcha
script(src='https://www.google.com/recaptcha/api.js') script(src='https://www.google.com/recaptcha/api.js')

View File

@ -18,5 +18,5 @@ block body
form#loginForm(method="POST", action="") form#loginForm(method="POST", action="")
input(type="hidden", name="csrf", value=csrf) input(type="hidden", name="csrf", value=csrf)
label(for="code") Code label(for="code") Code
input(type="text", name="code", id="code") input(type="text", name="code", id="code", autocomplete="off")
input(type="submit", value="Log in") input(type="submit", value="Log in")

View File

@ -19,7 +19,7 @@ block body
form#totpForm(method="POST", action="") form#totpForm(method="POST", action="")
input(type="hidden", name="csrf", value=csrf) input(type="hidden", name="csrf", value=csrf)
label(for="code") Enter the Code label(for="code") Enter the Code
input(type="text", name="code", id="code") input(type="text", name="code", id="code", autocomplete="off")
input(type="submit", value="Enable Now") input(type="submit", value="Enable Now")
.right .right
h3 How to use h3 How to use