1
0

* Prevent password autocompletion for user passwords to prevent

possible mismatch. In media manager popup, fix bug that did
      not properly forward to image selection after upload (onli)
This commit is contained in:
Garvin Hicking
2009-10-27 09:08:48 +00:00
parent ff7ef4251a
commit fe5adf6ba2
4 changed files with 16 additions and 4 deletions

View File

@@ -3,6 +3,10 @@
Version 1.5 ()
------------------------------------------------------------------------
* Prevent password autocompletion for user passwords to prevent
possible mismatch. In media manager popup, fix bug that did
not properly forward to image selection after upload (onli)
* Fix a bug in statistics output, when statistics for single-number
months is created. (Andreas Bilke)

View File

@@ -825,7 +825,7 @@ switch ($serendipity['GET']['adminAction']) {
function showMediaLibrary($messages=false) {
if (!serendipity_checkPermission('adminImagesView')) {
return;
}
}
if(!empty($messages)) {
echo '<div class="imageMessage"><ul>';
@@ -835,6 +835,14 @@ function showMediaLibrary($messages=false) {
echo '</ul></div>';
}
global $image_selector_addvars;
#if $image_selector_addvars is not empty, this was called by
#serendipity_admin_image_selector.php and the library shall not be displayed (yet).
if (!empty($image_selector_addvars)) {
return;
}
?>
<script type="text/javascript" language="javascript">
<!--

View File

@@ -290,7 +290,7 @@
array('var' => 'pass',
'title' => INSTALL_PASSWORD,
'description' => INSTALL_PASSWORD_DESC,
'type' => 'protected',
'type' => 'fullprotected',
'default' => 'john',
'permission' => 'siteConfiguration',
'flags' => array('installOnly', 'local', 'simpleInstall')),

View File

@@ -18,14 +18,14 @@
array('var' => 'password',
'title' => USERCONF_PASSWORD,
'description' => USERCONF_PASSWORD_DESC,
'type' => 'protected',
'type' => 'fullprotected',
'default' => '',
'permission' => 'personalConfiguration'),
array('var' => 'check_password',
'title' => USERCONF_CHECK_PASSWORD,
'description' => USERCONF_CHECK_PASSWORD_DESC,
'type' => 'protected',
'type' => 'fullprotected',
'default' => '',
'permission' => 'personalConfiguration'),