Locked out - Two Factor can't send email

Hi,

I’ve been setting up a new AWS Bitnami instance. Put a lot of time into it already. For some reason, I clicked the two-factor authentication button. Now I’m locked out.

I looked at the logs and it looks like it can’t send email.

Does anyone know how to update the back end database to either turn off 2 factor auth or edit the smtp settings?

Thank you in advance :slight_smile:

Scott

Figured it out!

Log into mysql:

/opt/bitnami/mysql/bin/mysql -p -u root

Turn off two factor:

mysql> update users set factor_auth = 0;

Whew!

2 Likes