mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-11 08:33:41 +08:00
fix: 第三方登录注销 #500
This commit is contained in:
@@ -159,8 +159,9 @@ func Register(c *gin.Context) {
|
||||
if err != nil {
|
||||
c.JSON(http.StatusOK, gin.H{
|
||||
"success": false,
|
||||
"message": err.Error(),
|
||||
"message": "数据库错误,请稍后重试",
|
||||
})
|
||||
common.SysError(fmt.Sprintf("CheckUserExistOrDeleted error: %v", err))
|
||||
return
|
||||
}
|
||||
if exist {
|
||||
|
||||
Reference in New Issue
Block a user