Generate password reset tokens upon submission.
This commit is contained in:
parent
aa42451611
commit
b4de8e58f9
4 changed files with 47 additions and 3 deletions
|
|
@ -62,6 +62,7 @@ func NewPage(c echo.Context) Page {
|
|||
p.CSRF = csrf.(string)
|
||||
}
|
||||
|
||||
// TODO: Use container?
|
||||
if u := c.Get(context.AuthenticatedUserKey); u != nil {
|
||||
p.IsAuth = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue