bug #2187193 [interface] ShowChgPassword setting not respected

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

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">'