mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
captive: allow /login endpoint
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user