Files
minisrv/zefie_wtvp_minisrv/ServiceVault/wtv-1800/offer-open-isp-suggest.js
zefie 0d991d5eac user account updates
- move user accounts to subdir
- add password support
- implemented basics of multi-user support
- Can add users, edit them, and log in with them (password or not)
- Cannot delete users (with service) yet
2022-03-09 17:37:57 -05:00

18 lines
391 B
JavaScript

var minisrv_service_file = true;
var gourl = "wtv-1800:/finish-prereg?";
if (request_headers.query.relogin) gourl += "relogin=true";
if (request_headers["wtv-ticket"]) {
gourl = "wtv-head-waiter:/login-stage-two?";
}
headers = `200 OK
Connection: Keep-Alive
minisrv-no-mail-count: true
wtv-expire-all: wtv-
wtv-open-isp-disabled: false
wtv-visit: `+ gourl + `
Content-type: text/html`;