Update pkglib to latest
This commit is contained in:
parent
2d1f3e3819
commit
0c50b5e182
10 changed files with 36 additions and 16 deletions
|
|
@ -197,6 +197,7 @@ func (auth *Auth) authLogin(ctx context.Context) http.Handler {
|
|||
}
|
||||
return tpl.Context(r, templating.NewFormContext(ctx))
|
||||
},
|
||||
LogTemplateError: tpl.LogTemplateError,
|
||||
|
||||
Validate: func(r *http.Request, values map[string]string) (*AuthUser, error) {
|
||||
username, password, passcode := values["username"], values["password"], values["otp"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue