mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 01:22:25 +00:00
uspot: add logoff/out support to local captive
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -288,7 +288,15 @@ return {
|
||||
}
|
||||
|
||||
if (!uam && connected?.state) {
|
||||
include('connected.uc', ctx);
|
||||
switch (split(ctx.env.REQUEST_URI, '?')[0] || '') {
|
||||
case '/logout':
|
||||
case '/logoff':
|
||||
this.logoff(ctx, false);
|
||||
break;
|
||||
default:
|
||||
include('connected.uc', ctx);
|
||||
break;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (!connected.data.ssid) {
|
||||
|
||||
Reference in New Issue
Block a user