Skip to content

Commit

Permalink
disable chrome autofill
Browse files Browse the repository at this point in the history
  • Loading branch information
twiforce committed Aug 6, 2014
1 parent eadac0f commit 1754980
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/post_form.html
Expand Up @@ -116,7 +116,7 @@
{{ antibot.html() }}
</th>
<td>
<input type="text" name="embed" size="30" maxlength="120" autocomplete="off">
<input type="text" name="embed" value="" size="30" maxlength="120" autocomplete="off">
{{ antibot.html() }}
</td>
</tr>
Expand Down Expand Up @@ -146,9 +146,12 @@
<th>
{% trans %}Password{% endtrans %}
{{ antibot.html() }}
<!-- For the great justice of Chrome autofill -->
<input type='text' style='display: none'>
<input type='password' style='display: none'>
</th>
<td>
<input type="password" name="password" size="12" maxlength="18" autocomplete="off">
<input type="password" name="password" value="" size="12" maxlength="18" autocomplete="off">
{{ antibot.html() }}
</td>
</tr>{% endif %}
Expand Down

0 comments on commit 1754980

Please sign in to comment.