Merge branch '2fa-channels-email-sms' of https://github.com/acordeddu/yii2-usuario into acordeddu-2fa-channels-email-sms

This commit is contained in:
Lorenzo Milesi
2022-08-12 09:46:32 +02:00
51 changed files with 1498 additions and 126 deletions

View File

@ -71,6 +71,8 @@ CREATE TABLE `user` (
`updated_at` int(11) NOT NULL,
`auth_tf_key` varchar(16) DEFAULT NULL,
`auth_tf_enabled` tinyint(1) DEFAULT '0',
`auth_tf_type` varchar(20) DEFAULT NULL,
`auth_tf_mobile_phone` varchar(20) DEFAULT NULL,
`flags` int(11) NOT NULL DEFAULT '0',
`last_login_at` int(11) DEFAULT NULL,
`gdpr_consent` tinyint(1) NULL DEFAULT '0',

View File

@ -81,6 +81,7 @@ return [
'auth_key' => '39HU0m5lpjWtqstFVGFjj6lFb7UZDeRq',
'auth_tf_key' => '',
'auth_tf_enabled' => true,
'auth_tf_type' => 'google-authenticator',
'created_at' => $time,
'updated_at' => $time,
'confirmed_at' => $time,