some fixes for pages that broke from the new VM based eval
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
var minisrv_service_file = true;
|
||||
var errpage;
|
||||
|
||||
if (Object.keys(ssid_sessions[socket.ssid].listPrimaryAccountUsers()).length >= minisrv_config.config.user_accounts.max_users_per_account) {
|
||||
errpage = wtvshared.doErrorPage(400, "You are not authorized to add more than " + minisrv_config.config.user_accounts.max_users_per_account + ` account${minisrv_config.config.user_accounts.max_users_per_account > 1 ? 's' : ''}.`);
|
||||
|
||||
Reference in New Issue
Block a user