From 6a1865905f38c37df8e67ef5d3b3564dd3850f81 2017-01-07 10:49:31 From: Jean-Philippe Lang Date: 2017-01-07 10:49:31 Subject: [PATCH] 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 --- diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 3508961..dcc693f 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -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