fix: email whitelist check

This commit is contained in:
1808837298@qq.com 2024-04-04 12:33:11 +08:00
parent 2ea6009954
commit 9025756b56

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,