-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use 2FA when resetting a forgotten password if found/setup. #3
Comments
@CaMer0n I think we'd need a new event trigger for this in core (/fpw.php). Something like this; if($invalid = e107::getEvent()->trigger("user_fpw_request", $row))
{
fpw_error($invalid);
exit;
} Not sure where specifically though, maybe line 253? What do you think? |
@CaMer0n Hmm, actually. I need something more I think. With 'login' I can use See my latest commit: c3e8058 |
@Moc I would use override. That's how we did it for visualcaptcha. |
@CaMer0n but then it would not be possible to use both captcha and 2FA on Forgotten Password. |
Good point. Will look at what events can be added. |
@CaMer0n Can you take a look at this and suggest how to "hook back" into the forgotten password routine? Just as this plugin does when logging in using |
As it says. :-)
The text was updated successfully, but these errors were encountered: