pull/141/head
skiffer-git 3 years ago
parent a8334a22f8
commit 6f1a5eb79c

@ -1 +1 @@
Subproject commit a85c10dbffbb797b5b2091e209ff67a5534b9bfc
Subproject commit e43ec7d427a84702eea7a6aaa358a7a0a809019d

@ -44,7 +44,7 @@ func UserRegister(user db.User) error {
if user.Birth.Unix() < 0 {
user.Birth = utils.UnixSecondToTime(0)
}
err = dbConn.Table("users").Create(&user).Error
err = dbConn.Debug().Table("users").Create(&user).Error
if err != nil {
return err
}

Loading…
Cancel
Save