var minisrv_service_file = true; var errpage; if (Object.keys(session_data.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' : ''}.`); } else if (session_data.user_id != 0) errpage = wtvshared.doErrorPage(400, "You are not authorized to add users to this account."); if (errpage) { headers = errpage[0]; data = errpage[1]; } else { headers = `200 OK Connection: Keep-Alive Content-Type: text/html` data = ` Adding person's name
User's name

Type the person's
display name
here. They are
included when the
user sends mail.

Leave the space
blank if you don't
want to type this
person's name.

Display name

`; }