Skip to content

Commit

Permalink
Bypass user email check for [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
matax87 committed Dec 20, 2023
1 parent 986c254 commit 5e0ce73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NOICommunity/AuthFeature/LoadUserInfoViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ final class LoadUserInfoViewModel {
guard let userEmail = userInfo.email
else { return false }

return userEmail == person.email || userEmail.hasSuffix("@dimension.it")
return userEmail == person.email ||
userEmail == "[email protected]" ||
userEmail.hasSuffix("@dimension.it")
}
}
.setFailureType(to: Error.self)
Expand Down

0 comments on commit 5e0ce73

Please sign in to comment.