password is text nao, fuck you chrome

This commit is contained in:
czaks 2015-03-31 07:01:51 +02:00
parent d3d54b8c76
commit 745bdc2b6c

View File

@ -146,14 +146,9 @@
<th> <th>
{% trans %}Password{% endtrans %} {% trans %}Password{% endtrans %}
{{ antibot.html() }} {{ antibot.html() }}
<!-- Chrome, you suck so hard with your autofill mechanism -->
<!-- I tried N different tricks, this sucks most, but only this one -->
<!-- disables autofill successfully -->
<input type='text' style='display: none'>
<input type='password' style='display: none'>
</th> </th>
<td> <td>
<input type="password" name="password" value="" size="12" maxlength="18" autocomplete="off"> <input type="text" name="password" value="" size="12" maxlength="18" autocomplete="off">
<span class="unimportant">{% trans %}(For file deletion.){% endtrans %}</span> <span class="unimportant">{% trans %}(For file deletion.){% endtrans %}</span>
{{ antibot.html() }} {{ antibot.html() }}
</td> </td>