Skip to content
Snippets Groups Projects
Commit 2d26837c authored by Wilson JALLET's avatar Wilson JALLET :money_with_wings:
Browse files

small fixes

parent 6c2164f8
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,6 @@ router.get('/admin',
// donc on laisse passer sans déclencher d'erreur 500
try {
let user = req.user;
//let user = req.user;
console.log('adminview: Welcome,', user.uid);
userName = user.uid;
} catch (err) {
......
......@@ -10,7 +10,7 @@ const configPath = path.resolve('./', 'ldap_config.json');
const ldapConfig = JSON.parse(fs.readFileSync(configPath, 'utf8'));
const credentialsPath = path.resolve('./', 'ldap_connexion_config.json');
const credentialsConfig = JSON.parse(fs.readFileSync(credentialsPath));
const credentialsConfig = JSON.parse(fs.readFileSync(credentialsPath, 'utf8'));
// Override config server from environment
if (process.env.LDAP_URI != null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment