From 25b2a98c678f2fdf4d665b0bf28b1be559032414 Mon Sep 17 00:00:00 2001 From: Michael Klier Date: Mon, 17 Nov 2008 16:44:09 +0100 Subject: show update profile dialog only when logged in darcs-hash:20081117154409-23886-d0ad833c6bcf96bcc54f6998397de90ff07b7686.gz --- inc/auth.php | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/auth.php') diff --git a/inc/auth.php b/inc/auth.php index 9c21fcbef..18f1ece89 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -724,6 +724,7 @@ function updateprofile() { if ($changes['pass']) $pass = PMA_blowfish_encrypt($changes['pass'],auth_cookiesalt()); auth_setCookie($_SERVER['REMOTE_USER'],$pass,(bool)$sticky); + return true; } } -- cgit v1.2.3