- remove extra debugging
- fix: could not unregister if multiple users existed
- fix: http(s) proxy
- add example in user_config.example.json to use public proxy
- maybe fix: double reg
- add support for "modpacks" to viewergen
  - first mod is "BackgroundSound" by @Sgeo (and https://github.com/elishacloud/dxwrapper)
This commit is contained in:
zefie
2022-11-28 11:48:37 -05:00
parent c2a3081afd
commit 040e035548
9 changed files with 70 additions and 20 deletions

View File

@@ -11,7 +11,7 @@ if (!session_data.getSessionData("registered")) {
} else if (session_data.user_id !== 0) {
headers += "\nwtv-noback-all: wtv-";
headers += "\nwtv-expire-all: wtv-";
var redirect = [5, "wtv-tricks:/tricks"];
var redirect = [5, "client:relogin?"];
var message = "Error: You must be the primary user to unregister this box.";
} else if (request_headers.query.confirm_unregister) {
if (session_data.unregisterBox()) {