bug #2187193 [interface] ShowChgPassword setting not respected

This commit is contained in:
Marc Delisle
2008-10-22 17:03:22 +00:00
parent d597af936b
commit c3c3d86216
3 changed files with 6 additions and 3 deletions

View File

@@ -53,6 +53,7 @@ index
- bug #2163437 [core] Cannot disable PMA tables
- bug #2184240 [lang] Problems with Italian language file, thanks to Luca
Rebellato
- bug #2187193 [interface] ShowChgPassword setting not respected
3.0.0.0 (2008-09-27)
+ [export] properly handle line breaks for YAML, thanks to Dan Barry -

View File

@@ -757,7 +757,7 @@ $cfg['ShowServerInfo'] = true;
*
* @global boolean $cfg['ShowChgPassword']
*/
$cfg['ShowChgPassword'] = false;
$cfg['ShowChgPassword'] = true;
/**
* show create database form

View File

@@ -86,8 +86,10 @@ if ($server > 0
// Logout for advanced authentication
if ($cfg['Server']['auth_type'] != 'config') {
PMA_printListItem($strChangePassword, 'li_change_password',
'./user_password.php?' . $common_url_query);
if ($cfg['ShowChgPassword']) {
PMA_printListItem($strChangePassword, 'li_change_password',
'./user_password.php?' . $common_url_query);
}
$http_logout = ($cfg['Server']['auth_type'] == 'http')
? '<a href="./Documentation.html#login_bug" target="documentation">'