Browse Source

Don't redirect to lost password page after login (#13741).

Patch by Gregory Van der Steen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16151 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.4.0
Jean-Philippe Lang 7 years ago
parent
commit
6a1865905f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/controllers/application_controller.rb

+ 1
- 1
app/controllers/application_controller.rb View File

@@ -434,7 +434,7 @@ class ApplicationController < ActionController::Base
return false
end

if path.match(%r{/(login|account/register)})
if path.match(%r{/(login|account/register|account/lost_password)})
return false
end


Loading…
Cancel
Save