Skip to content

Commit

Permalink
Merge pull request #136 from DimensionSrl/feature/app_review
Browse files Browse the repository at this point in the history
Bypass user email check for [email protected]
  • Loading branch information
dulvui authored Jan 3, 2024
2 parents 986c254 + 5e0ce73 commit 7042e1b
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 7042e1b

Please sign in to comment.