mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
ajustement auth env
This commit is contained in:
parent
6dde0cca38
commit
97e7a4888f
1 changed files with 3 additions and 3 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// Enable or disable the types of authentications
|
// Enable or disable the types of authentications
|
||||||
simpleLoginActive: process.env.SIMPLE_LOGIN_ACTIVE === 'true',
|
simpleLoginActive: process.env.SIMPLE_LOGIN_ACTIVE || 'true',
|
||||||
oauthActive: process.env.OAUTH_ACTIVE === 'false',
|
oauthActive: process.env.OAUTH_ACTIVE || 'false',
|
||||||
oidcActive: process.env.OIDC_ACTIVE === 'false',
|
oidcActive: process.env.OIDC_ACTIVE || 'false',
|
||||||
|
|
||||||
// Simple Login Configuration
|
// Simple Login Configuration
|
||||||
sessionSecret: process.env.SESSION_SECRET || 'default_session_secret',
|
sessionSecret: process.env.SESSION_SECRET || 'default_session_secret',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue