Jump to content

Change email settings via PHPMYADMIN?


Go to solution Solved by Richard Arch,

Recommended Posts

Posted

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!

Posted (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 by Richard Arch
Posted
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.

Posted (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 by Koyakami
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...