diff options
Diffstat (limited to 'routers/admin')
-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, } |