diff options
author | Unknwon <u@gogs.io> | 2015-12-10 12:37:53 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-10 12:37:53 -0500 |
commit | 2a0bb1fa906a4d135ed88de4f705c3ab7214e60c (patch) | |
tree | 37d207458c999c5789fd6ca3a2c62d6700ed81b7 /routers/admin/users.go | |
parent | c6083c335e53a860fd4c500a86dcdda49a16515e (diff) | |
download | gitea-2a0bb1fa906a4d135ed88de4f705c3ab7214e60c.tar.gz gitea-2a0bb1fa906a4d135ed88de4f705c3ab7214e60c.zip |
#1575 Limit repo creation
Diffstat (limited to 'routers/admin/users.go')
-rw-r--r-- | routers/admin/users.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/admin/users.go b/routers/admin/users.go index ae17a99cd9..5e6c3a13cc 100644 --- a/routers/admin/users.go +++ b/routers/admin/users.go @@ -210,6 +210,7 @@ func EditUserPost(ctx *middleware.Context, form auth.AdminEditUserForm) { u.Email = form.Email u.Website = form.Website u.Location = form.Location + u.MaxRepoCreation = form.MaxRepoCreation u.IsActive = form.Active u.IsAdmin = form.Admin u.AllowGitHook = form.AllowGitHook |