Skip to content
Snippets Groups Projects
Commit e61015d0 authored by Rafael dos Santos Silva's avatar Rafael dos Santos Silva
Browse files

FIX: Method should be instance and not class

parent dcdbc84d
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ class SamlAuthenticator < ::Auth::OAuth2Authenticator
sync_groups(user, auth)
end
def self.sync_groups(auth)
def sync_groups(auth)
return unless GlobalSetting.try(:saml_sync_groups) && GlobalSetting.try(:saml_sync_groups_list) && auth.extra.present? && auth.extra[:raw_info].present?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment