summaryrefslogtreecommitdiffstats
path: root/routers/admin/auths.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-05-11 20:18:57 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-05-11 20:18:57 +0800
commitf68e279150b8c58a0c5ffeea44fe1a613031e58b (patch)
tree3afed9069f91ecbcfa5d5b129d091a70bef6408c /routers/admin/auths.go
parent70398ed01a4f1715831864613b894ad2ba0e98f7 (diff)
downloadgitea-f68e279150b8c58a0c5ffeea44fe1a613031e58b.tar.gz
gitea-f68e279150b8c58a0c5ffeea44fe1a613031e58b.zip
spell bug fixed
Diffstat (limited to 'routers/admin/auths.go')
-rw-r--r--routers/admin/auths.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/admin/auths.go b/routers/admin/auths.go
index 68fef21e8a..495acefda9 100644
--- a/routers/admin/auths.go
+++ b/routers/admin/auths.go
@@ -67,7 +67,7 @@ func NewAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm) {
Type: form.Type,
Name: form.AuthName,
IsActived: true,
- AllowAutoRegisted: form.AllowAutoRegister,
+ AllowAutoRegister: form.AllowAutoRegister,
Cfg: u,
}
@@ -140,7 +140,7 @@ func EditAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm) {
Name: form.AuthName,
IsActived: form.IsActived,
Type: form.Type,
- AllowAutoRegisted: form.AllowAutoRegister,
+ AllowAutoRegister: form.AllowAutoRegister,
Cfg: config,
}