diff options
author | Unknwon <u@gogs.io> | 2015-09-13 09:51:51 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-13 09:51:51 -0400 |
commit | 8e0a69f86a9e103d1d82d3c5000e01b4e2570a51 (patch) | |
tree | 6c0802f63be1ff7867b80375b406dd8b520f6b1e /routers/admin/auths.go | |
parent | e2d6b0116e44ca0fa2c577f40adde4ebfa612ae0 (diff) | |
download | gitea-8e0a69f86a9e103d1d82d3c5000e01b4e2570a51.tar.gz gitea-8e0a69f86a9e103d1d82d3c5000e01b4e2570a51.zip |
#697 disable captcha and new admin create user UI
Diffstat (limited to 'routers/admin/auths.go')
-rw-r--r-- | routers/admin/auths.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/admin/auths.go b/routers/admin/auths.go index 6edf41ca25..a218ee09b7 100644 --- a/routers/admin/auths.go +++ b/routers/admin/auths.go @@ -29,9 +29,9 @@ func Authentications(ctx *middleware.Context) { ctx.Data["PageIsAdminAuthentications"] = true var err error - ctx.Data["Sources"], err = models.GetAuths() + ctx.Data["Sources"], err = models.LoginSources() if err != nil { - ctx.Handle(500, "GetAuths", err) + ctx.Handle(500, "LoginSources", err) return } |