Do not prevent server to run when there are no users in private mode

This commit is contained in:
Jérémie Astori 2017-08-23 01:03:36 -04:00
parent 9811f2be02
commit 90842267e8
No known key found for this signature in database
GPG Key ID: B9A4F245CD67BDE8

View File

@ -29,8 +29,6 @@ program
if (!mode && !users.length && !Helper.config.ldap.enable) {
log.warn("No users found.");
log.info(`Create a new user with ${colors.bold("lounge add <name>")}.`);
return;
}
Helper.config.host = options.host || Helper.config.host;