Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
8785bec8
Commit
8785bec8
authored
Apr 19, 2013
by
Bertrand Gauthier
Browse files
Séparation des options de config "locale" et "globale".
parent
5e0cdd91
Changes
2
Hide whitespace changes
Inline
Side-by-side
config/unicaen-auth.global.php.dist
0 → 100644
View file @
8785bec8
<?php
/**
* UnicaenAuth Global Configuration
*
* If you have a ./config/autoload/ directory set up for your project, you can
* drop this config file in it and change the values as you wish.
*/
$settings
=
array
(
'bjyauthorize'
=>
array
(
// default role for unauthenticated users
'default_role'
=>
false
,
),
/**
* Mot de passe sésame, chiffré avec l'algo Bcrypt
* $bcrypt = new \Zend\Crypt\Password\Bcrypt();
* echo $bcrypt->create('votreMotDePasseSesame');
*/
'sesame_password'
=>
false
,
/**
* Flag indiquant si l'utilisateur authenitifié avec succès via l'annuaire LDAP doit
* être enregistré/mis à jour dans la table des utilisateurs de l'appli.
*/
'save_ldap_user_in_database'
=>
false
,
/**
* Enable registration
* Allows users to register through the website.
* Accepted values: boolean true or false
*/
'enable_registration'
=>
false
,
);
/**
* You do not need to edit below this line
*/
return
array
(
'unicaen-auth'
=>
$settings
,
'zfcuser'
=>
array
(
$k
=
'enable_registration'
=>
isset
(
$settings
[
$k
])
?
$settings
[
$k
]
:
false
,
),
);
\ No newline at end of file
config/
module.
unicaen-auth.local.php.dist
→
config/unicaen-auth.local.php.dist
View file @
8785bec8
...
...
@@ -15,7 +15,7 @@ $settings = array(
// 'connection' => array(
// 'default' => array(
// 'params' => array(
// 'hostname' => '
host.domai
n.fr',
// 'hostname' => '
cas.unicae
n.fr',
// 'port' => 443,
// 'version' => "2.0",
// 'uri' => "",
...
...
@@ -29,18 +29,7 @@ $settings = array(
* $bcrypt = new \Zend\Crypt\Password\Bcrypt();
* echo $bcrypt->create('votreMotDePasseSesame');
*/
'sesame_password'
=>
'$2y$14$Kvq9KHfDRMFayA6SJZL8tO4rjNjOtOeYwI/.GoaYgY2IxUP0rkdIS'
,
/**
* Flag indiquant si l'utilisateur authenitifié avec succès via l'annuaire LDAP doit
* être enregistré/mis à jour dans la table des utilisateurs de l'appli.
*/
'save_ldap_user_in_database'
=>
false
,
/**
* Enable registration
* Allows users to register through the website.
* Accepted values: boolean true or false
*/
'enable_registration'
=>
false
,
'sesame_password'
=>
'$2y$14$jbCVltklcys8TQj3hu30.OcKMi7rtUgmu3eo/nxMXynYvcZ5iHF8q'
,
);
/**
...
...
@@ -48,7 +37,4 @@ $settings = array(
*/
return
array
(
'unicaen-auth'
=>
$settings
,
'zfcuser'
=>
array
(
$k
=
'enable_registration'
=>
isset
(
$settings
[
$k
])
?
$settings
[
$k
]
:
false
,
),
);
);
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment