Redirecting users to login form Answered

Post author
Rafael Leon

I want to redirect a member from the signup form to the login form. Currently when someone who already has an account fills the form in the landing page it says "email has already been taken", so I want to redirect them to the login form when that happens. How can I do that?

Comments

3 comments

  • Comment author
    Jayess

    Hello Rafael 👋
    That will probably need some custom code, maybe Chukwudi Onyekwere Josh Lopez has some quick pre-written code for you. Maybe someone in the community has some solutions as well.

    The no-code solution would be to just add a link on your sign up form that directly links to login page. You could name the link as “Already a member? Login in here”

    0
  • Comment author
    Josh Lopez
    • Edited

    This would take some custom code. To do this you would need to use the DOM package to login members and redirect based on the response.

    0
  • Comment author
    Rafael Leon

    Thanks Josh!

    0

Please sign in to leave a comment.