diff options
author | Marc Delisle <marc@infomarc.info> | 2008-10-22 21:03:22 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2008-10-22 21:03:22 +0400 |
commit | c3c3d86216e81b7bf2855627a3f03a1ce37cc674 (patch) | |
tree | 2bfbf5e4ba5c9a853198314e5b1975f5ef1c1b19 /main.php | |
parent | d597af936b713f327d7be61db4582e7a2b3c255b (diff) |
bug #2187193 [interface] ShowChgPassword setting not respected
Diffstat (limited to 'main.php')
-rw-r--r-- | main.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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">' |