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,