summaryrefslogtreecommitdiffstats
path: root/routers/admin/auths.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-15 14:46:04 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-15 14:46:04 -0400
commit4744996f9a68ef0de8bc87b3c22c0bde9a305847 (patch)
tree3815ebf4cbc7d37b73a892f8797f9357f1011a45 /routers/admin/auths.go
parentdb6b71ad03c40e9b01f40bc986a915a8b4bd03b2 (diff)
downloadgitea-4744996f9a68ef0de8bc87b3c22c0bde9a305847.tar.gz
gitea-4744996f9a68ef0de8bc87b3c22c0bde9a305847.zip
Make gmail auth work
Diffstat (limited to 'routers/admin/auths.go')
-rw-r--r--routers/admin/auths.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/auths.go b/routers/admin/auths.go
index bf4bade17b..c4702afc81 100644
--- a/routers/admin/auths.go
+++ b/routers/admin/auths.go
@@ -158,7 +158,7 @@ func EditAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm) {
}
log.Trace("%s Authentication changed by admin(%s): %s", ctx.Req.RequestURI,
- ctx.User.LowerName, strings.ToLower(form.AuthName))
+ ctx.User.LowerName, form.AuthName)
ctx.Redirect("/admin/auths")
}