Browse Source

Disable autocomplete for email fields.

pull/193/head
Pēteris Caune 6 years ago
parent
commit
371eebe1f2
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
2 changed files with 4 additions and 3 deletions
  1. +2
    -1
      templates/accounts/login.html
  2. +2
    -2
      templates/front/welcome.html

+ 2
- 1
templates/accounts/login.html View File

@ -29,7 +29,8 @@
class="form-control input-lg"
name="identity"
value="{{ magic_form.email.value|default:"" }}"
placeholder="[email protected]">
placeholder="[email protected]"
autocomplete="off">
<p id="link-instruction">
We will email you a magic sign in link.


+ 2
- 2
templates/front/welcome.html View File

@ -139,7 +139,7 @@
type="email"
class="form-control"
name="identity"
autocomplete="email"
autocomplete="off"
placeholder="Email">
</div>
</div>
@ -457,7 +457,7 @@
type="email"
class="form-control"
name="identity"
autocomplete="email"
autocomplete="off"
placeholder="Email">
</div>
</div>


Loading…
Cancel
Save