mirror of
				https://github.com/linux-do/new-api.git
				synced 2025-11-04 21:33:41 +08:00 
			
		
		
		
	fix: email whitelist check
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user