Closed nazbav closed 1 year ago
I've added an "examples" folder and removed the old examples.php
.
This is the best I could do. This is meant to be a barebones package that should be implemented into a working authentication process.
The enable-two-fa
and login-verifcation
views should be heavily modified and should just be seen als "inspiration".
Security wise, I recommend also validating the users current password when enabling/disabling 2FA for a user. This is something you should implement yourself.
Thx!
But messages category "twofa" in Yii:t("twofa",...)
it is not provided together with the extension?
Please publish examples for templates 'enable-two-fa', 'login-verification'