From f68e279150b8c58a0c5ffeea44fe1a613031e58b Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 11 May 2014 20:18:57 +0800 Subject: spell bug fixed --- routers/admin/auths.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'routers/admin/auths.go') diff --git a/routers/admin/auths.go b/routers/admin/auths.go index 68fef21e..495acefd 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, } -- cgit v1.2.3