fix adding users

This commit is contained in:
zefie
2022-10-22 21:30:19 -04:00
parent 0bb95df5dc
commit e507672c27
4 changed files with 8 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
var minisrv_service_file = true;
var errpage = null;
const WTVRegister = require(classPath + "/WTVRegister.js")
const wtvr = new WTVRegister(minisrv_config, SessionStore);
if (session_data.user_id != 0) errpage = wtvshared.doErrorPage(400, "You are not authorized to add users to this account.");