refinements and documentation on 2fa in yii2-usuario via other channels

This commit is contained in:
Antonio Cordeddu
2022-07-18 14:54:01 +02:00
parent 91d110e1e7
commit 1ea46e9952
36 changed files with 232 additions and 113 deletions

View File

@ -131,7 +131,7 @@ class Bootstrap implements BootstrapInterface
if (in_array($name, ['User', 'Profile', 'Token', 'SocialNetworkAccount'])) {
$di->set(
"Da\\User\\Query\\{$name}Query",
function () use ($model) {
function() use($model) {
return $model::find();
}
);