Explorar el Código

Merge branch 'CRM_12.9' into debug

ziwen hace 2 años
padre
commit
a78bebccb9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      middleware/token.go

+ 1 - 1
middleware/token.go

@@ -49,7 +49,7 @@ func Token() gin.HandlerFunc {
 			return
 		}
 		if userEmail.Enable == 0{
-			resp.TokenError(nil, "用户已被禁用!", "用户已被禁用", c)
+			resp.TokenError(nil, "User disabled", "User disabled", c)
 			c.Abort()
 			return
 		}