captive: allow /login endpoint

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2024-06-08 09:55:12 +02:00
parent e17c6e5918
commit 1ff690c3f7

View File

@@ -53,6 +53,7 @@ global.handle_request = function(env) {
let ctx = portal.handle_request(env, true);
switch (split(ctx.env.REQUEST_URI, '?')[0] || '') {
case '/login':
case '/logon':
auth_client(ctx);
break;