Update pkglib to latest
This commit is contained in:
parent
2d1f3e3819
commit
0c50b5e182
10 changed files with 36 additions and 16 deletions
|
|
@ -43,8 +43,9 @@ func (panel *UserPanel) routePassword(context.Context) http.Handler {
|
|||
},
|
||||
FieldTemplate: assets.PureCSSFieldTemplate,
|
||||
|
||||
Template: tpl.Template(),
|
||||
TemplateContext: panel.UserFormContext(tpl, menuChangePassword),
|
||||
Template: tpl.Template(),
|
||||
TemplateContext: panel.UserFormContext(tpl, menuChangePassword),
|
||||
LogTemplateError: tpl.LogTemplateError,
|
||||
|
||||
Validate: func(r *http.Request, values map[string]string) (struct{}, error) {
|
||||
old, passcode, new, new2 := values["old"], values["otp"], values["new"], values["new2"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue