Skip to content

Commit

Permalink
Temporarily disable logout
Browse files Browse the repository at this point in the history
  • Loading branch information
renatolond committed Feb 5, 2025
1 parent 6960939 commit 00d70b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def basic_profile_info
@basic_profile_info ||= retro_meet_client.basic_profile_info.value if authenticated?
rescue RetroMeet::Core::UnauthorizedError
flash.now[:warn] = t("forced_log_out")
terminate_session
redirect_to :root
# terminate_session
# redirect_to :root
end

# @return [nil,RetroMeet::Core::Client]
Expand Down
4 changes: 2 additions & 2 deletions app/controllers/concerns/authentication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def start_new_session_for(token_credentials)
# Logs out from retro meet core and removes the session cookie
# @return [void]
def terminate_session
retro_meet_client.logout
cookies.delete(:session)
# retro_meet_client.logout
# cookies.delete(:session)
end
end

0 comments on commit 00d70b3

Please sign in to comment.