Commit b3f2421e authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 337683: The user prefs tab let you change the password and email address of…

Bug 337683: The user prefs tab let you change the password and email address of a user being impersonated when using the ENV method (with user_info_class="Env,CGI") - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit a=justdave
parent fc2b9ab2
......@@ -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.
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment