improve hidding password from recent chrome

This commit is contained in:
Garvin Hicking 2016-12-23 10:13:40 +01:00
parent fd2f23f3e7
commit 6b1348a7f1
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,11 @@
Version 2.1 (November 28th, 2016)
------------------------------------------------------------------------
* Allow to set a default category for authors (personal preferences)
* Changed how the hidden password element is displayed to prevent
browsers from autofilling it into the entryproperties plugin
* [Security] Enhanced media upload check to also check redirects
for local files, thanks to Xu Yue (again!)

View File

@ -356,7 +356,7 @@ class serendipity_event_entryproperties extends serendipity_event
?>
<div class="entryproperties_access_pw adv_opts_box adv_opts_box form_field">
<label for="properties_access_pw"><?php echo PASSWORD; ?>:</label>
<input type="password" name="ignore_password" value="" style="display:none">
<input type="password" name="ignore_password" value="" style="visibility: hidden; width: 1px">
<input id="properties_access_pw" name="serendipity[properties][entrypassword]" type="password" autocomplete="off" value="<?php echo serendipity_specialchars($password); ?>">
</div>
<?php