mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 03:15:57 +01:00
Set user's localization before redirecting (#23346).
Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@15775 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -51,7 +51,7 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
end
|
||||
|
||||
before_action :session_expiration, :user_setup, :check_if_login_required, :check_password_change, :set_localization
|
||||
before_action :session_expiration, :user_setup, :check_if_login_required, :set_localization, :check_password_change
|
||||
|
||||
rescue_from ::Unauthorized, :with => :deny_access
|
||||
rescue_from ::ActionView::MissingTemplate, :with => :missing_template
|
||||
|
||||
Reference in New Issue
Block a user