From 6a1865905f38c37df8e67ef5d3b3564dd3850f81 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 7 Jan 2017 10:49:31 +0000 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 --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 350896185..dcc693f50 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 -- 2.39.5