]> source.dussan.org Git - redmine.git/commitdiff
Don't redirect to lost password page after login (#13741).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 Jan 2017 10:49:31 +0000 (10:49 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 Jan 2017 10:49:31 +0000 (10:49 +0000)
Patch by Gregory Van der Steen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16151 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/application_controller.rb

index 3508961850d60f8701acb2e517e0b745ee01715a..dcc693f5055a6bb575d9b2c9df6010dcf3dde9c1 100644 (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