mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Reset password is a directory now
This commit is contained in:
parent
65689ca538
commit
779ff1f020
1 changed files with 2 additions and 2 deletions
|
|
@ -642,12 +642,12 @@ export function authRouter() {
|
|||
logger.info('reset-password exception:', e)
|
||||
if (e instanceof jwt.TokenExpiredError) {
|
||||
return res.redirect(
|
||||
`${env.client.url}/auth/reset-password?errorCodes=TOKEN_EXPIRED`
|
||||
`${env.client.url}/auth/reset-password/?errorCodes=TOKEN_EXPIRED`
|
||||
)
|
||||
}
|
||||
|
||||
res.redirect(
|
||||
`${env.client.url}/auth/reset-password?errorCodes=INVALID_TOKEN`
|
||||
`${env.client.url}/auth/reset-password/?errorCodes=INVALID_TOKEN`
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue