From 400d3b0bf62c23ffa0edfa05519220703ee3835b Mon Sep 17 00:00:00 2001 From: Pavel Balashou Date: Fri, 7 Jun 2024 13:28:57 +0200 Subject: [PATCH] [#55472] Extend omniauth_user_authorized comment. Co-authored-by: Kabiru Mwenja --- .../lib/open_project/openid_connect/hooks/hook.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openid_connect/lib/open_project/openid_connect/hooks/hook.rb b/modules/openid_connect/lib/open_project/openid_connect/hooks/hook.rb index 0b4c31df3b44..f2d446830767 100644 --- a/modules/openid_connect/lib/open_project/openid_connect/hooks/hook.rb +++ b/modules/openid_connect/lib/open_project/openid_connect/hooks/hook.rb @@ -41,8 +41,8 @@ def user_logged_in(context) end ## - # Once omniauth has returned with an auth hash - # persist the access token + # Called once omniauth has returned with an auth hash + # NOTE: It's a passthrough as we no longer persist the access token into the cookie def omniauth_user_authorized(_context); end end end