Skip to content

Commit

Permalink
fix: fix email verified check for saml
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddyDevelop committed Aug 26, 2024
1 parent 3471da6 commit 99dc71e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/ee/saml/provider/saml.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (sp *BaseSamlProvider) GetUserData(assertionInfo *saml2.AssertionInfo) *thi

email := thirdparty.Email{
Email: emailAddress,
Verified: assertionValues.Get(attributeMap.EmailVerified) != "",
Verified: assertionValues.Get(attributeMap.EmailVerified) == "true",
Primary: true,
}

Expand Down

0 comments on commit 99dc71e

Please sign in to comment.