Project

General

Profile

Patch #12611 ยป redmine-login_unexpectedly_logs_you_out_fix-DrewDahl.patch

Andrew Dahl, 2012-12-16 23:59

View differences:

app/controllers/account_controller.rb
# Login request and validation
def login
if request.get?
logout_user
if User.current.logged?
redirect_to home_url
end
else
authenticate_user
end
    (1-1/1)