Fix #138 — Avoid files password autocomplete by browsers

Tested with Firefox and Chromium
This commit is contained in:
Luc Didry 2019-07-30 20:56:24 +02:00
parent abb9e4e4a2
commit 3f17277959
No known key found for this signature in database
GPG Key ID: EA868E12D0257E3C
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@
% if (config('allow_pwd_on_files')) {
<div class="col s12 m12">
<div class="input-field">
<input type="password" id="file_pwd" placeholder="<%= l('Password') %>" class="validate">
<input type="password" id="file_pwd" placeholder="<%= l('Password') %>" class="validate" autocomplete="off">
<label for="file_pwd"><%= l('Add a password to file(s)') %></label>
</div>
</div>