diff --git a/src/lib/modules/authenticator/index.js b/src/lib/modules/authenticator/index.js index 6421c030b..73d01a79f 100644 --- a/src/lib/modules/authenticator/index.js +++ b/src/lib/modules/authenticator/index.js @@ -72,9 +72,12 @@ class Authenticator { let self = this; this.events.once('outputDone', () => { - const {port, host} = this.embark.config.webServerConfig; - this.logger.info(__('Access the web backend with the following url: %s', - (`http://${host}:${port}/embark?token=${this.authToken}`.underline))); + const {port, host, enabled} = this.embark.config.webServerConfig; + + if (enabled) { + this.logger.info(__('Access the web backend with the following url: %s', + (`http://${host}:${port}/embark?token=${this.authToken}`.underline))); + } }); this.events.setCommandHandler('authenticator:authorize', (req, res, cb) => {