mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Extract encryption key into the configuration param
This commit is contained in:
@@ -12,7 +12,7 @@ return [
|
||||
'@console' => '@root/console',
|
||||
],
|
||||
'params' => [
|
||||
'fromEmail' => 'ely@ely.by',
|
||||
'fromEmail' => 'account@ely.by',
|
||||
'supportEmail' => 'support@ely.by',
|
||||
],
|
||||
'container' => [
|
||||
@@ -91,12 +91,9 @@ return [
|
||||
],
|
||||
'emailsRenderer' => [
|
||||
'class' => common\components\EmailsRenderer\Component::class,
|
||||
'serviceUrl' => getenv('EMAILS_RENDERER_HOST'),
|
||||
'serviceUrl' => getenv('EMAILS_RENDERER_HOST') ?: 'http://emails-renderer:3000',
|
||||
'basePath' => '/images/emails',
|
||||
],
|
||||
'oauth' => [
|
||||
'class' => api\components\OAuth2\Component::class,
|
||||
],
|
||||
'authManager' => [
|
||||
'class' => \api\rbac\Manager::class,
|
||||
'itemFile' => '@api/rbac/.generated/items.php',
|
||||
|
Reference in New Issue
Block a user