Skip to content

Commit

Permalink
Fix header for unlogged controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
renatolond committed Nov 12, 2024
1 parent 805b3fa commit d7b6019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ApplicationController < ActionController::Base
# @return [BasicProfileInfo] if the user is logged in
# @return [nil] if the user is not logged in
def basic_profile_info
@basic_profile_info ||= retro_meet_client.basic_profile_info
@basic_profile_info ||= retro_meet_client.basic_profile_info if authenticated?
rescue RetroMeetClient::UnauthorizedError
flash.now[:warn] = t("forced_log_out")
terminate_session
Expand Down

0 comments on commit d7b6019

Please sign in to comment.