]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 337683: The user prefs tab let you change the password and email address of a...
authorlpsolit%gmail.com <>
Mon, 15 May 2006 23:31:28 +0000 (23:31 +0000)
committerlpsolit%gmail.com <>
Mon, 15 May 2006 23:31:28 +0000 (23:31 +0000)
Bugzilla.pm

index b3c6ba7ce7e88af8b79628ac4eb1c58efd715ca1..d72dba70fa74af97803d62ff48ed0179f6ce786b 100644 (file)
@@ -189,6 +189,9 @@ sub login {
     {
         $_user = $sudo_target;
         $_sudoer = $authenticated_user;
+        # And make sure that both users have the same Auth object,
+        # since we never call Auth::login for the sudo target.
+        $_user->set_authorizer($_sudoer->authorizer);
 
         # NOTE: If you want to do any special logging, do it here.
     }