Skip to content

No redirect after verifyEmail #173

@ajbarry

Description

@ajbarry

Hey @splendido, I have the following configuration (using v1.3.2) but rather than redirecting to '/dashboard' after the verifyEmail link is processed, I get the message: Verify email link expired
The user is successfully logged-in but they need to use other navigation in the template to navigate to /dashboard or away from the /verify-email/<token> page. Do you have any ideas what I am missing?

AccountsTemplates.configure
  enablePasswordChange: true
  enforceEmailVerification: true
  sendVerificationEmail: true
  showForgotPasswordLink: true

AccountsTemplates.configureRoute('signUp')

AccountsTemplates.configureRoute('verifyEmail', {
  redirect: '/dashboard'
})

AccountsTemplates.configureRoute('signIn', {
  redirect: '/dashboard'
})

AccountsTemplates.configureRoute('changePwd')
AccountsTemplates.configureRoute('forgotPwd')
AccountsTemplates.configureRoute('resetPwd')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions