summaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-02-04 21:23:04 +0100
committerbbaetz%student.usyd.edu.au <>2002-02-04 21:23:04 +0100
commit788e94b41f8124a05c6f25bf3084fcdaa36f4d63 (patch)
treee7313868133ce351cc5719c3da5da944ee2a6515 /userprefs.cgi
parent7398c1d65281cf04584652f3b854dc5e9d471175 (diff)
downloadbugzilla-788e94b41f8124a05c6f25bf3084fcdaa36f4d63.tar.gz
bugzilla-788e94b41f8124a05c6f25bf3084fcdaa36f4d63.tar.xz
Bug 95732 - remove logincookies.cryptpassword, and invalidate cookies from
the db when required instead. (Also fixes bug 58242 as a side effect) r=myk, kiko
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 531d57c0e..eb823326a 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -171,6 +171,8 @@ sub SaveAccount {
SendSQL("UPDATE profiles
SET cryptpassword = $cryptedpassword
WHERE userid = $userid");
+ # Invalidate all logins except for the current one
+ InvalidateLogins($userid, $::COOKIE{"Bugzilla_logincookie"});
}
SendSQL("UPDATE profiles SET " .
"realname = " . SqlQuote(trim($::FORM{'realname'})) .