Commit 346ed4ca by 1808837298@qq.com

fix: email whitelist check

parent 40a6db67
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment