diff options
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-x | userprefs.cgi | 2 |
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'})) . |