Remove TOTP password from the configuration
parent
90494407a9
commit
7e41c68aa7
|
@ -7,9 +7,6 @@ ldap:
|
||||||
user: cn=admin,dc=example,dc=com
|
user: cn=admin,dc=example,dc=com
|
||||||
password: password
|
password: password
|
||||||
|
|
||||||
# Will be per user soon
|
|
||||||
totp_secret: GRWGIJS6IRHVEODVNRCXCOBMJ5AGC6ZE
|
|
||||||
|
|
||||||
session:
|
session:
|
||||||
secret: unsecure_secret
|
secret: unsecure_secret
|
||||||
expiration: 3600000
|
expiration: 3600000
|
||||||
|
|
|
@ -16,7 +16,6 @@ var yaml_config = YAML.load(config_path);
|
||||||
|
|
||||||
var config = {
|
var config = {
|
||||||
port: process.env.PORT || 8080,
|
port: process.env.PORT || 8080,
|
||||||
totp_secret: yaml_config.totp_secret,
|
|
||||||
ldap_url: yaml_config.ldap.url || 'ldap://127.0.0.1:389',
|
ldap_url: yaml_config.ldap.url || 'ldap://127.0.0.1:389',
|
||||||
ldap_users_dn: yaml_config.ldap.base_dn,
|
ldap_users_dn: yaml_config.ldap.base_dn,
|
||||||
ldap_user: yaml_config.ldap.user,
|
ldap_user: yaml_config.ldap.user,
|
||||||
|
|
Loading…
Reference in New Issue