From 558328aa08ed13756ed15501dae1cbf7c0607523 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Mon, 1 Jan 2018 15:01:50 -0800 Subject: [PATCH] feat(boot/auth): Add signup disabled debug info --- server/boot/authentication.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/boot/authentication.js b/server/boot/authentication.js index de0029ee40..88f8ae3878 100644 --- a/server/boot/authentication.js +++ b/server/boot/authentication.js @@ -13,6 +13,9 @@ import { const isSignUpDisabled = !!process.env.DISABLE_SIGNUP; // const debug = debugFactory('fcc:boot:auth'); +if (isSignUpDisabled) { + console.log('fcc:boot:auth - Sign up is disabled'); +} module.exports = function enableAuthentication(app) { // enable loopback access control authentication. see: