mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-21 21:36:26 -08:00
redirect
This commit is contained in:
parent
7f694f1a4a
commit
4a2b0633f2
|
@ -306,7 +306,7 @@ authRoutes.get("/confirm_email/:code", requiresAccount, (req,res) => {
|
|||
if (e) clearTimeout(e)
|
||||
verificationCodes.delete(acc?.id||"")
|
||||
|
||||
res.send(`<script>window.close()</script>`)
|
||||
res.redirect("/")
|
||||
} else {
|
||||
ServeError(res, 400, "invalid code")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue