diff options
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 1d55a073f3b..70d5c274526 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -284,7 +284,7 @@ class ApplicationController < ActionController::Base password_expires_at = current_user&.password_expires_at if password_expires_at && password_expires_at < Time.now - return redirect_to new_profile_password_path + return redirect_to new_settings_password_path end end @@ -341,7 +341,7 @@ class ApplicationController < ActionController::Base def require_email if current_user && current_user.temp_oauth_email? && session[:impersonator_id].nil? - return redirect_to profile_path, notice: _('Please complete your profile with email address') + return redirect_to settings_path, notice: _('Please complete your profile with email address') end end |