fix user repo limit default value

tokarchuk/v1.17
Unknwon 9 years ago
parent df5ed64cca
commit 0e96a46020
  1. 2
      models/user.go

@ -76,7 +76,7 @@ type User struct {
// Remember visibility choice for convenience, true for private
LastRepoVisibility bool
// Maximum repository creation limit, 0 means use gloabl default
MaxRepoCreation int `xorm:"NOT NULL"`
MaxRepoCreation int `xorm:"NOT NULL DEFAULT -1"`
// Permissions.
IsActive bool

Loading…
Cancel
Save