mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Redirect to the verify-email informational page after sign up
This commit is contained in:
parent
b86c3a2c51
commit
2d9f4a0194
2 changed files with 13 additions and 1 deletions
|
|
@ -469,7 +469,7 @@ export function authRouter() {
|
|||
pendingConfirmation: true,
|
||||
})
|
||||
|
||||
res.redirect(`${env.client.url}/email-login?message=SIGNUP_SUCCESS`)
|
||||
res.redirect(`${env.client.url}/verify-email?message=SIGNUP_SUCCESS`)
|
||||
} catch (e) {
|
||||
logger.info('email-signup exception:', e)
|
||||
if (isErrorWithCode(e)) {
|
||||
|
|
|
|||
12
packages/web/pages/verify-email.tsx
Normal file
12
packages/web/pages/verify-email.tsx
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { PageMetaData } from '../components/patterns/PageMetaData'
|
||||
import { VerifyEmail } from '../components/templates/VerifyEmail'
|
||||
|
||||
export default function VerifyEmailPage(): JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<PageMetaData title="Verify Email" path="/verify-email" />
|
||||
<VerifyEmail />
|
||||
<div data-testid="verify-email-page-tag" />
|
||||
</>
|
||||
)
|
||||
}
|
||||
Loading…
Reference in a new issue