系统用户增加是否允许登录选项

This commit is contained in:
GoEdgeLab
2021-03-30 11:00:06 +08:00
parent 1cecc37d8f
commit 0cbf87ecb0
8 changed files with 35 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ func (this *CreatePopupAction) RunPost(params struct {
Pass2 string
ModuleCodes []string
IsSuper bool
CanLogin bool
// OTP
OtpOn bool
@@ -88,6 +89,7 @@ func (this *CreatePopupAction) RunPost(params struct {
Fullname: params.Fullname,
ModulesJSON: modulesJSON,
IsSuper: params.IsSuper,
CanLogin: params.CanLogin,
})
if err != nil {
this.ErrorPage(err)