bug #2187193 [interface] ShowChgPassword setting not respected
This commit is contained in:
@@ -27,6 +27,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
||||
thanks to incognito - zytisin
|
||||
- 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 -
|
||||
|
@@ -736,7 +736,7 @@ $cfg['ShowServerInfo'] = true;
|
||||
*
|
||||
* @global boolean $cfg['ShowChgPassword']
|
||||
*/
|
||||
$cfg['ShowChgPassword'] = false;
|
||||
$cfg['ShowChgPassword'] = true;
|
||||
|
||||
/**
|
||||
* show create database form
|
||||
|
6
main.php
6
main.php
@@ -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">'
|
||||
|
Reference in New Issue
Block a user