Update URL routes
This commit is contained in:
parent
dab7a5c4ae
commit
b3039768af
21 changed files with 152 additions and 96 deletions
|
|
@ -49,7 +49,8 @@ func (auth *Auth) authPassword(ctx context.Context) http.Handler {
|
|||
|
||||
CSRF: auth.csrf.Get(nil),
|
||||
|
||||
RenderTemplate: passwordTemplate,
|
||||
RenderTemplate: passwordTemplate,
|
||||
RenderTemplateContext: auth.UserFormContext,
|
||||
|
||||
Validate: func(r *http.Request, values map[string]string) (struct{}, error) {
|
||||
old, passcode, new, new2 := values["old"], values["passcode"], values["new"], values["new2"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue