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>2007-06-24 01:48:22 +0400
committerMarc Delisle <marc@infomarc.info>2007-06-24 01:48:22 +0400
commit7d29630f9bcfe78b7f0512f5b0a4da5e637a32ca (patch)
tree216f7c317575972f9ea266a9c958d9d302eb8545 /user_password.php
parent0c03c102b04028b3076815f6ec09eac2ac4046fd (diff)
make password change by user work again with cookie login (broke in revision 10120)
Diffstat (limited to 'user_password.php')
-rw-r--r--user_password.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_password.php b/user_password.php
index 7b9b89fe0b..ed625936ec 100644
--- a/user_password.php
+++ b/user_password.php
@@ -59,7 +59,7 @@ if (isset($nopass)) {
// Duration = till the browser is closed for password (we don't want this to be saved)
if ($cfg['Server']['auth_type'] == 'cookie') {
- PMA_setCookie('pmaPass-' . $server, PMA_blowfish_encrypt($pma_pw, $GLOBALS['cfg']['blowfish_secret'] . $GLOBALS['current_time']));
+ PMA_setCookie('pmaPass-' . $server, PMA_blowfish_encrypt($pma_pw, $GLOBALS['cfg']['blowfish_secret']));
} // end if
// For http auth. mode, the "back" link will also enforce new