feat(boot/auth): Add signup disabled debug info

This commit is contained in:
Berkeley Martinez
2018-01-01 15:01:50 -08:00
committed by mrugesh mohapatra
parent 296387d67e
commit 558328aa08

View File

@@ -13,6 +13,9 @@ import {
const isSignUpDisabled = !!process.env.DISABLE_SIGNUP; const isSignUpDisabled = !!process.env.DISABLE_SIGNUP;
// const debug = debugFactory('fcc:boot:auth'); // const debug = debugFactory('fcc:boot:auth');
if (isSignUpDisabled) {
console.log('fcc:boot:auth - Sign up is disabled');
}
module.exports = function enableAuthentication(app) { module.exports = function enableAuthentication(app) {
// enable loopback access control authentication. see: // enable loopback access control authentication. see: