How to intercept new registrations and password resets? #862
Replies: 3 comments
-
Hello @realtebo, you can follow the controllers on vendor/backpack/crud/src/app/Http/Controllers/Auth to understand the register and recovery password process and events. If you need to customize, there is information about it on our documentation Cheers. |
Beta Was this translation helpful? Give feedback.
-
I am following the code, thanks. For password reset I find event(new PasswordReset($user)); I will try to listen to this event to reset the 2fa |
Beta Was this translation helpful? Give feedback.
-
I will close the issue due to not activity. Please feel free to re-open or create a new one if needed. Cheers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am implementing manually, again, the 2 factor auth.
This time we must handle registration and password recovery, so I need to intercept when a user is succesfully registered to create a 'secret key' into his record
Also, how to intercept a succesfully password reset? I want to contextually reset also the secret key for 2FA
Beta Was this translation helpful? Give feedback.
All reactions