mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Update authentication configuration
This commit is contained in:
@@ -32,7 +32,8 @@ dev:
|
||||
border-manager: border_manager
|
||||
search-engine: phrasea
|
||||
task-manager: task_manager
|
||||
auth-providers:
|
||||
authentication:
|
||||
providers:
|
||||
facebook:
|
||||
enabled: false
|
||||
options:
|
||||
@@ -92,7 +93,8 @@ prod:
|
||||
border-manager: border_manager
|
||||
search-engine: phrasea
|
||||
task-manager: task_manager
|
||||
auth-providers:
|
||||
authentication:
|
||||
providers:
|
||||
facebook:
|
||||
enabled: false
|
||||
options:
|
||||
@@ -152,7 +154,8 @@ test:
|
||||
border-manager: border_manager
|
||||
search-engine: phrasea
|
||||
task-manager: task_manager
|
||||
auth-providers:
|
||||
authentication:
|
||||
providers:
|
||||
facebook:
|
||||
enabled: false
|
||||
options:
|
||||
|
@@ -2,7 +2,7 @@
|
||||
#Please refer to Doctrine documentation abstraction layer for database connection configuration
|
||||
#DBAL connection : http://www.doctrine-project.org/docs/dbal/2.1/en/reference/configuration.html
|
||||
|
||||
#Define a connexion to MYSQL database named main_connexion
|
||||
#Defines a connexion to MYSQL database named main_connexion
|
||||
main_connexion:
|
||||
host: <HOSTNAME>
|
||||
port: <PORT>
|
||||
|
@@ -53,7 +53,8 @@ class AuthenticationManagerServiceProvider implements ServiceProviderInterface
|
||||
|
||||
$providers = new ProvidersCollection();
|
||||
|
||||
foreach ($app['phraseanet.configuration']->get('auth-providers') as $providerId => $data) {
|
||||
$authConf = $app['phraseanet.configuration']->get('authentication');
|
||||
foreach ($authConf['providers'] as $providerId => $data) {
|
||||
if (isset($data['enabled']) && false === $data['enabled']) {
|
||||
continue;
|
||||
}
|
||||
|
@@ -31,7 +31,8 @@ dev:
|
||||
border-manager: border_manager
|
||||
search-engine: phrasea
|
||||
task-manager: task_manager
|
||||
auth-providers:
|
||||
authentication:
|
||||
providers:
|
||||
facebook:
|
||||
enabled: false
|
||||
options:
|
||||
@@ -91,7 +92,8 @@ prod:
|
||||
border-manager: border_manager
|
||||
search-engine: phrasea
|
||||
task-manager: task_manager
|
||||
auth-providers:
|
||||
authentication:
|
||||
providers:
|
||||
facebook:
|
||||
enabled: false
|
||||
options:
|
||||
@@ -151,7 +153,8 @@ test:
|
||||
border-manager: border_manager
|
||||
search-engine: phrasea
|
||||
task-manager: task_manager
|
||||
auth-providers:
|
||||
authentication:
|
||||
providers:
|
||||
facebook:
|
||||
enabled: false
|
||||
options:
|
||||
|
@@ -2,7 +2,7 @@
|
||||
#Please refer to Doctrine documentation abstraction layer for database connection configuration
|
||||
#DBAL connection : http://www.doctrine-project.org/docs/dbal/2.1/en/reference/configuration.html
|
||||
|
||||
#Define a connexion to MYSQL database named main_connexion
|
||||
#Defines a connexion to MYSQL database named main_connexion
|
||||
main_connexion:
|
||||
host: <HOSTNAME>
|
||||
port: <PORT>
|
||||
@@ -12,7 +12,7 @@ main_connexion:
|
||||
driver: pdo_mysql
|
||||
charset: UTF8
|
||||
|
||||
#Define a connexion to a SQLite database named test_connexion
|
||||
#Defines a connexion to a SQLite database named test_connexion
|
||||
test_connexion:
|
||||
driver: pdo_sqlite
|
||||
path: '/tmp/db.sqlite'
|
||||
|
Reference in New Issue
Block a user