mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Set user's localization before redirecting to password change path to generate flash in current user's language
This commit is contained in:
parent
c55dd52b07
commit
47f389ce22
@ -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…
x
Reference in New Issue
Block a user