spell bug fixed

This commit is contained in:
Lunny Xiao 2014-05-11 20:18:57 +08:00
parent 70398ed01a
commit f68e279150
3 changed files with 5 additions and 5 deletions

View file

@ -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,
}