Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Koyakami Posted January 21, 2023 Posted January 21, 2023 Hi, I've tried logging into my website which has been yonks since I last did and my 2FA isn't working so I've requested a password reset, not received it yet and checked PHPMYADMIN and my email address on there is correct (outlook) so possibly the email settings may be incorrect so an email isn't being issued. Anyway I can check the details via the database so I can get access to my site? Or disable 2FA via the database, my password is stored via my browser so that's fine. Many thanks!
Richard Arch Posted January 21, 2023 Posted January 21, 2023 (edited) You could try adding EMAIL_DEBUG_PATH to your constant.php file to redirect any emails to a folder where you could read them and use any reset links. <?php define( 'EMAIL_DEBUG_PATH', "/folder/path/_mail" ); Edited January 21, 2023 by Richard Arch
Solution Richard Arch Posted January 21, 2023 Solution Posted January 21, 2023 There is another switch you can use to disable 2FA and once logged back in you can change the settings. <?php define('DISABLE_MFA',True);
Jim M Posted January 21, 2023 Posted January 21, 2023 1 hour ago, Richard Arch said: There is another switch you can use to disable 2FA and once logged back in you can change the settings. <?php define('DISABLE_MFA',True); This would be the best option to disable 2FA.
Koyakami Posted January 23, 2023 Author Posted January 23, 2023 (edited) On 1/21/2023 at 5:51 PM, Richard Arch said: There is another switch you can use to disable 2FA and once logged back in you can change the settings. <?php define('DISABLE_MFA',True); Thanks pal, I'll give this a try 🙂 Edit: Thanks that got me in and I re-authenticated my 2FA. I found the issue - my end 🙂 Edited January 23, 2023 by Koyakami Richard Arch 1
Gary Posted January 23, 2023 Posted January 23, 2023 Hi @Koyakami, Thanks for letting us know this has been resolved. If you have any further questions or concerns, please don't hesitate to let us know.
Recommended Posts