Commit ecf209b5 authored by James Lopez's avatar James Lopez

Fix finder error

parent ab30e59c
...@@ -4,7 +4,7 @@ class GroupSamlIdentityFinder ...@@ -4,7 +4,7 @@ class GroupSamlIdentityFinder
attr_reader :user attr_reader :user
def self.find_by_group_and_uid(group:, uid:) def self.find_by_group_and_uid(group:, uid:)
group&.saml_provider&.identities&.find_by_extern_uid(uid) group&.saml_provider&.identities&.find_by(extern_uid: uid)
end end
def initialize(user:) def initialize(user:)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment