implement config option to disable guest mode

This commit is contained in:
zefie
2021-08-07 21:08:51 -04:00
parent a37433132e
commit c539d408c9
6 changed files with 18 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
if (request_headers.query.noreg) {
if (request_headers.query.noreg && minisrv_config.config.allow_guests) {
headers = `300 Moved
Connection: Close
wtv-noback-all: wtv-register: