Committer: ailyin
LJSUP-6712 (If a leave a comment using any account I should be logged in after publishing)U trunk/cgi-bin/LJ/Talk/Author/User.pm
Modified: trunk/cgi-bin/LJ/Talk/Author/User.pm =================================================================== --- trunk/cgi-bin/LJ/Talk/Author/User.pm 2010-09-02 05:37:08 UTC (rev 17261) +++ trunk/cgi-bin/LJ/Talk/Author/User.pm 2010-09-02 06:16:44 UTC (rev 17262) @@ -158,13 +158,7 @@ } } - # if the user chooses to log in, do so - if ($form->{'do_login'} && ! @$errret) { - $init->{'didlogin'} = $up->make_login_session($exptype, $ipfixed); - } else { - # record their login session anyway - LJ::Session->record_login($up); - } + $init->{'didlogin'} = $up->make_login_session($exptype, $ipfixed); return $up; }