diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index d95cdd90b8c..1b9559782f6 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -157,7 +157,6 @@ def extlogin session.delete('location_id') user = User.find_by_id(session[:user]) login_user(user) - user.post_successful_login end end @@ -217,6 +216,7 @@ def login_user(user) store_default_taxonomy(user, 'location') unless session.has_key?(:location_id) TopbarSweeper.expire_cache telemetry_increment_counter(:successful_ui_logins) + user.post_successful_login redirect_to (uri || helpers.current_hosts_path) end