Skip to content
Snippets Groups Projects
Verified Commit beed1a3e authored by Gabriel Zachmann's avatar Gabriel Zachmann
Browse files

fix mytoken recreation code redirect

parent bcbb5868
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ func handleRecreate(ctx *fiber.Ctx, code string) (err error) {
if !found {
return ctxutils.RenderErrorPage(ctx, fiber.StatusNotFound, "recreation code not found")
}
return ctx.Redirect(fmt.Sprintf("/home?r=%s#mt", baseRequest), fiber.StatusSeeOther)
return ctx.Redirect(fmt.Sprintf("/?r=%s#mt", baseRequest), fiber.StatusSeeOther)
}
func handleVerifyEmail(ctx *fiber.Ctx, code string) error {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment