mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove extra /auth in paths
This commit is contained in:
parent
3c442c06ba
commit
65689ca538
1 changed files with 2 additions and 2 deletions
|
|
@ -559,11 +559,11 @@ export function authRouter() {
|
|||
email,
|
||||
})
|
||||
if (!user) {
|
||||
return res.redirect(`${env.client.url}/auth/auth/reset-sent`)
|
||||
return res.redirect(`${env.client.url}/auth/reset-sent`)
|
||||
}
|
||||
|
||||
if (user.status === StatusType.Pending) {
|
||||
return res.redirect(`${env.client.url}/auth/auth/reset-sent`)
|
||||
return res.redirect(`${env.client.url}/auth/reset-sent`)
|
||||
}
|
||||
|
||||
if (!(await sendPasswordResetEmail(user))) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue