diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-05-11 20:18:57 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-05-11 20:18:57 +0800 |
commit | f68e279150b8c58a0c5ffeea44fe1a613031e58b (patch) | |
tree | 3afed9069f91ecbcfa5d5b129d091a70bef6408c /routers/admin/auths.go | |
parent | 70398ed01a4f1715831864613b894ad2ba0e98f7 (diff) | |
download | gitea-f68e279150b8c58a0c5ffeea44fe1a613031e58b.tar.gz gitea-f68e279150b8c58a0c5ffeea44fe1a613031e58b.zip |
spell bug fixed
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 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, } |