Skip to content

Commit

Permalink
improve hidding password from recent chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
garvinhicking committed Dec 23, 2016
1 parent fd2f23f commit 6b1348a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/NEWS
Original file line number Diff line number Diff line change
@@ -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!)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ function showBackend($element, $eventData, $is_sticky, $no_frontpage, $hiderss,
?>
<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
Expand Down

0 comments on commit 6b1348a

Please sign in to comment.