Fork from Lsat Yii2 Auth
docker-compose exec api composer require fat2fast/yii2-auth
docker-compose exec api yii migrate-module
"require" : {
"fat2fast/yii2-auth": "dev-master"
}
{
"type": "path",
"url": "modules/yii2-auth",
"options": {}
},
'controllerMap' => [
// other controllers
'migrate-module' => [
'class' => 'yii\console\controllers\MigrateController',
'migrationPath' => [
'@fat2fast/auth/migrations'
],
'migrationTable' => 'migration_module'
],
]
'modules' => [
// other modules
'auth' => [
'class' => 'fat2fast\auth\Module',
'userIdentityClass' => 'fat2fast\auth\models\user\User',
]
],
docker-compose exec api yii migrate-module
php yii migrate/create ModuleMigrationName --migrationPath=@fat2fast/auth/migrations
config params.php
authz.fullNameOrganization
authz.acronymOrganization
authz.TitleLogin