feat(boot/auth): Add signup disabled debug info
This commit is contained in:
committed by
mrugesh mohapatra
parent
296387d67e
commit
558328aa08
@@ -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:
|
||||||
|
Reference in New Issue
Block a user