fix: email whitelist check
Some checks failed
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled

This commit is contained in:
1808837298@qq.com 2024-04-04 12:33:11 +08:00
parent 40a6db6797
commit 346ed4cae1

View File

@ -135,9 +135,10 @@ func SendEmailVerification(c *gin.Context) {
}
if allowed && !containsSpecialSymbols {
c.JSON(http.StatusOK, gin.H{
"success": true,
"success": false,
"message": "Your email address is allowed.",
})
return
} else {
c.JSON(http.StatusOK, gin.H{
"success": false,