From 553e0081facd8942980f92d709bdc218c2b16c09 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Wed, 8 Sep 2021 11:58:18 -0700 Subject: [PATCH] fix(JWT): Added env var to enable/disable JWT retrieval at startup --- config/env/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/env/common.js b/config/env/common.js index 4f00938..b51a21c 100644 --- a/config/env/common.js +++ b/config/env/common.js @@ -32,7 +32,7 @@ module.exports = { : 'emailpassword', // FullStack.cash account information, used for automatic JWT handling. - getJwtAtStartup: false, + getJwtAtStartup: process.env.GET_JWT_AT_STARTUP ? true : false, authServer: process.env.AUTHSERVER ? process.env.AUTHSERVER : 'https://auth.fullstack.cash',