Fortify: Pass to 2fa confirmation after password reset #41081
Unanswered
sidewaysglance
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have an invite only app which enforces 2fa - this is all ok so far, no problems, enforcement via middleware.
My intention is that admins POST new users' email addresses, they are
User::create()
d, and a customised password reset email goes out for the users to complete onboarding - create a password & set up 2fa.I would like the onboarding process to be slick, and therefore would like the password reset to redirect to the
'/two-factor-challenge'
route, rather than back to login.The default behaviour after password reset is to redirect to the login form.
I have tried registering an EventListener:
Can anyone help please
Beta Was this translation helpful? Give feedback.
All reactions