dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit fb2803111131f213df873833d650952d58267528
parent 5c61614a49ca566388cf4952a09786ed6717e733
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed, 14 Dec 2022 14:49:39 -0500

protect "forgot-password" with the wait page

Diffstat:
Mpkg/web/handlers/handlers.go | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/pkg/web/handlers/handlers.go b/pkg/web/handlers/handlers.go @@ -949,6 +949,10 @@ func generateCaptchaCssFrames(captchaSec int64) (frames []string) { // ForgotPasswordHandler ... func ForgotPasswordHandler(c echo.Context) error { + return waitPageWrapper(c, forgotPasswordHandler, hutils.SignupCookieName) +} + +func forgotPasswordHandler(c echo.Context) error { var data forgotPasswordData data.Step = 1