nineinchnick / yii2-usr

Yii framework module for user authentication, password reset, registration and profile updating. A port of yii-usr to Yii Framework 2.0.
http://demo2.niix.pl
MIT License
39 stars 8 forks source link

Two step authentication looks like not working #21

Closed hamrak closed 10 years ago

hamrak commented 10 years ago

Somehow I can't do generate QR code for Google Authenticator. I see there is a view (generateOTPSecret.php), but I don't see which way I can call him. Can you write some manual for it or it's a bug?

nineinchnick commented 10 years ago

You have to go into the profile view and click on a link that enables two step auth. Then you need to verify a one time password to see if it works. Only after that the secret gets saved and two step auth is enabled.