Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2008-10-22 21:03:22 +0400
committerMarc Delisle <marc@infomarc.info>2008-10-22 21:03:22 +0400
commitc3c3d86216e81b7bf2855627a3f03a1ce37cc674 (patch)
tree2bfbf5e4ba5c9a853198314e5b1975f5ef1c1b19 /main.php
parentd597af936b713f327d7be61db4582e7a2b3c255b (diff)
bug #2187193 [interface] ShowChgPassword setting not respected
Diffstat (limited to 'main.php')
-rw-r--r--main.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.php b/main.php
index dc38479d52..cc41fca50d 100644
--- a/main.php
+++ b/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">'