Do not prevent server to run when there are no users in private mode
This commit is contained in:
parent
9811f2be02
commit
90842267e8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user