diff options
author | Sandro Santilli <strk@kbt.io> | 2016-11-07 17:30:04 +0100 |
---|---|---|
committer | Sandro Santilli <strk@kbt.io> | 2016-11-07 17:30:04 +0100 |
commit | 60c82a87805821ad6eaf5aeb58a3a266b56a30ff (patch) | |
tree | ddc3675e4133284dbe7fa1b2bbd10ed7d38ff6fc /routers/admin/users.go | |
parent | f6a11e0de1ab950b42679d6be9dc0f3ac86c3399 (diff) | |
download | gitea-60c82a87805821ad6eaf5aeb58a3a266b56a30ff.tar.gz gitea-60c82a87805821ad6eaf5aeb58a3a266b56a30ff.zip |
More...
Diffstat (limited to 'routers/admin/users.go')
-rw-r--r-- | routers/admin/users.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/users.go b/routers/admin/users.go index 0eaa3c995c..404d5ec3b1 100644 --- a/routers/admin/users.go +++ b/routers/admin/users.go @@ -81,7 +81,7 @@ func NewUserPost(ctx *context.Context, form auth.AdminCrateUserForm) { Email: form.Email, Passwd: form.Password, IsActive: true, - LoginType: models.LOGIN_PLAIN, + LoginType: models.LoginPlain, } if len(form.LoginType) > 0 { |