Hello, I enabled 2FA in tools->user settings for admin account. I have no problem to connect and receive the 2FA code but I never had any recovery codes. The first time I enabled 2FA, the admin e-mail was not set correctly so after I set it and tested to use 2FA right, I tried to disable, click save, enable 2FA again then click save but no recovery code by mail or displayed. How to obtain 2FA recovery codes in the case I would have issue to receive the mail?
It looks like admin user has not any recovery code in my case: Code: MariaDB [dbispconfig]> select otp_recovery from sys_user where username="admin"; +--------------+ | otp_recovery | +--------------+ | NULL | +--------------+ 1 row in set (0.000 sec) MariaDB [dbispconfig]> select `otp_type` from sys_user where username='admin'; +----------+ | otp_type | +----------+ | email | +----------+ 1 row in set (0.001 sec) Or do I miss something again?
That's weird. I have not tested around with the new feature yet, but probably will do so in the upcoming week, and can then look into this. Feel free to remind me
Hi, I've got the same issue here: no recovery codes for every user. Code: MariaDB [dbispconfig]> select otp_recovery from sys_user; +--------------+ | otp_recovery | +--------------+ | NULL | | NULL | | NULL | | NULL | | NULL | | NULL | | NULL | | NULL | +--------------+ 8 rows in set (0,000 sec) Kind regards Aldo
OK, I looked into the code. I think currently there is no recovery code handling, would need to check that with the dev that wrote this. So if emails would not be received, a manual database intervention would be necessary right now. Not ideal.
BTW, I can't figure out how to use an app like google authenticator in place of the email. Is it possible? Kind regards Aldo