remove PB pages when removing/unregistering user

This commit is contained in:
zefie
2025-08-12 14:14:11 -04:00
parent fc3ea3894e
commit 51f2fd5ad7
9 changed files with 74 additions and 46 deletions

View File

@@ -2,7 +2,7 @@ const minisrv_service_file = true;
session_data.loadSessionData();
if (session_data.user_id != 0) {
const errpage = doErrorPage(400, "You are not authorized to edit the primary account.");
const errpage = wtvshared.doErrorPage(400, "You are not authorized to edit the primary account.");
headers = errpage[0];
data = errpage[1];
} else {