-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot activate 2FA | nothing happens #529
Comments
I'm running Yii2 (advanced project) version 2.0.49.2 on Apache2, MySQL8, PHP 8.1.2 In composer I've required the following packages:
Ending up having installed:
In my
Everything seems to be working just fine. Hope to have been of any kind of help. |
@edegaudenzi what bootstrap version? |
2023-11-13.18-12-14.mp4So my problem is when i click on one method nothing happens but when i type in my password click save then the 2fa field changes. I can activate like email 2FA and get the Mail but nothing opens to type in the code or similar |
I'm using the one for Yii2, yiisoft/yii2-bootstrap:2.0.11. Video is very explanatory, it should show you a popup with a qrcode indeed. In the very moment when you click, anything in the webserver logs, Yii2 logs, browser 'console' or browser 'network' tabs? |
What is your AppAsset.php on that bootstrap? I am using currently "yiisoft/yii2-bootstrap4": "~2.0.0", Would like to try with your version. No errors and logs but when i click on save with password and then execute like email 2fa an Request gets called and i get the Mail too. |
Okay got things running up with your bootstrap version. Now the Div looks like the one when i enter my password instantly. But the thing is i still need to enter my password click on save and then the modal sends me mail. When i only click 2fa without saving user data before nothing happens. Then it opens the input field but there is a div before so i cant click anything in the code field. |
What steps will reproduce the problem?
What is the expected result?
What do you get instead?
Thats the button that should trigger that:
https://github.com/2amigos/yii2-usuario/blob/master/src/User/resources/views/settings/account.php#L130
PHP: 8.1.2
Composer:
The text was updated successfully, but these errors were encountered: