Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
auth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lib
unicaen
auth
Commits
8785bec8
Commit
8785bec8
authored
12 years ago
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Séparation des options de config "locale" et "globale".
parent
5e0cdd91
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/unicaen-auth.global.php.dist
+40
-0
40 additions, 0 deletions
config/unicaen-auth.global.php.dist
config/unicaen-auth.local.php.dist
+3
-17
3 additions, 17 deletions
config/unicaen-auth.local.php.dist
with
43 additions
and
17 deletions
config/unicaen-auth.global.php.dist
0 → 100644
+
40
−
0
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
This diff is collapsed.
Click to expand it.
config/
module.
unicaen-auth.local.php.dist
→
config/unicaen-auth.local.php.dist
+
3
−
17
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment