Skip to content
Snippets Groups Projects
Commit f6e27167 authored by Cornel Rautenbach's avatar Cornel Rautenbach
Browse files

Validate Apple auth - update interface type check

parent e96732cf
No related merge requests found
...@@ -65,7 +65,7 @@ func ValidateAppleCode(code, redirectURI, encryptionKeySecret string, isDebug bo ...@@ -65,7 +65,7 @@ func ValidateAppleCode(code, redirectURI, encryptionKeySecret string, isDebug bo
email := (*claim)["email"] email := (*claim)["email"]
emailVerified := (*claim)["email_verified"] emailVerified := (*claim)["email_verified"]
if emailVerified != "true" { if emailVerified != true {
return "", errors.Error("email not verified") return "", errors.Error("email not verified")
} }
......
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