team api
This commit is contained in:
@@ -42,7 +42,7 @@ func Handleinit(c *gin.Context) {
|
||||
})
|
||||
return
|
||||
}
|
||||
if user.ID == uint(1) {
|
||||
if user.ID == 1 {
|
||||
c.JSON(http.StatusForbidden, gin.H{
|
||||
"error": "super user already exists, use cli to reset password",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user