Toggle organisation restriction from config file.

This commit is contained in:
Simon Vareille
2020-02-15 15:15:15 +01:00
parent 00e756795d
commit 86da9572a1
5 changed files with 24 additions and 7 deletions

View File

@@ -41,7 +41,9 @@ module.exports = {
},
publicKey: {
purgeTimeInDays: process.env.PUBLIC_KEY_PURGE_TIME || 30
purgeTimeInDays: process.env.PUBLIC_KEY_PURGE_TIME || 30,
restrictUserOrigin: process.env.RESTRICT_USER_ORIGIN || false,
restrictionRegEx: process.env.RESTRICTION_REGEX
}
};