Remove TOTP password from the configuration

This commit is contained in:
Clement Michaud 2017-01-28 18:30:07 +01:00
parent 90494407a9
commit 7e41c68aa7
2 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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,