Browse Source

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
tags/3.4.0
Jean-Philippe Lang 7 years ago
parent
commit
3ccf7cf7ff
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

@@ -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

Loading…
Cancel
Save