Open TimoB2005 opened 8 months ago
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:
require 2amigos/yii2-usuario "^1";
require 2amigos/2fa-library "^2";
require 2amigos/qrcode-library "^2";
Ending up having installed:
2amigos/yii2-usuario:1.6.1
2amigos/2fa-library:2.0.2
2amigos/qrcode-library:2.0.0
In my common\config\main.php::modules->user->twoFactorAuthenticationValidators
array (User Guide) I've specified :
'google-authenticator'=>[
'class' =>'\Da\User\Validator\TwoFactorCodeValidator',
'description' =>'Authenticator App',
'configurationUrl' =>'user/settings/two-factor',
'enabled' =>true
],
Everything seems to be working just fine. Hope to have been of any kind of help.
@edegaudenzi what bootstrap version?
https://github.com/2amigos/yii2-usuario/assets/83423736/3f444e90-0672-41cb-9056-4b2a4e307f54
So 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?
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. But nothing Opens or something. I guess its a Bootstrap Problem
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: