Unable to enable 2fa

Hi, I checked the box “enable 2fa” then clicked on save.

I don’t see a QR code.

You must click on Save button to see the QR code.

I did. Once I clicked on save button. I get this screen

That’s strange, when you select Enable two-factor authentication and click Save, you should see something like this:

imagen

Try to add it using command line:

v-add-user-2fa YourUser

And check again in your user profile whether you can see the QR

As I said in your other post, the problem is the connectivity with external domains, so you can’t get the QR code because it is created calling an external site.

If possible, I would raise this topic again, like the author of the post, the QR code is not displayed, on the command above in the heastia console version 1.8.12 the following log,
there were no such problems on version 1.9.*

v-add-user-2fa admin
PHP Fatal error:  Uncaught TypeError: RobThree\Auth\Providers\Qr\QRServerProvider::getQRCodeImage(): Return value must be of type string, bool returned in /usr/local/hestia/web/inc/vendor/robthree/twofactorauth/lib/Providers/Qr/QRServerProvider.php:36
Stack trace:
#0 /usr/local/hestia/web/inc/vendor/robthree/twofactorauth/lib/TwoFactorAuth.php(120): RobThree\Auth\Providers\Qr\QRServerProvider->getQRCodeImage()
#1 /usr/local/hestia/web/inc/2fa/secret.php(8): RobThree\Auth\TwoFactorAuth->getQRCodeImageAsDataUri()
#2 {main}
  thrown in /usr/local/hestia/web/inc/vendor/robthree/twofactorauth/lib/Providers/Qr/QRServerProvider.php on line 36