From 7e41c68aa7b03952fc7dd311b3b361f503899f81 Mon Sep 17 00:00:00 2001 From: Clement Michaud Date: Sat, 28 Jan 2017 18:30:07 +0100 Subject: [PATCH] Remove TOTP password from the configuration --- config.template.yml | 3 --- src/index.js | 1 - 2 files changed, 4 deletions(-) diff --git a/config.template.yml b/config.template.yml index fd6a5a34..8c58243a 100644 --- a/config.template.yml +++ b/config.template.yml @@ -7,9 +7,6 @@ ldap: user: cn=admin,dc=example,dc=com password: password -# Will be per user soon -totp_secret: GRWGIJS6IRHVEODVNRCXCOBMJ5AGC6ZE - session: secret: unsecure_secret expiration: 3600000 diff --git a/src/index.js b/src/index.js index 14edc728..8755e490 100644 --- a/src/index.js +++ b/src/index.js @@ -16,7 +16,6 @@ var yaml_config = YAML.load(config_path); var config = { port: process.env.PORT || 8080, - totp_secret: yaml_config.totp_secret, ldap_url: yaml_config.ldap.url || 'ldap://127.0.0.1:389', ldap_users_dn: yaml_config.ldap.base_dn, ldap_user: yaml_config.ldap.user,