mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 02:17:58 +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) { | 		if (!uam && connected?.state) { | ||||||
|  | 			switch (split(ctx.env.REQUEST_URI, '?')[0] || '') { | ||||||
|  | 			case '/logout': | ||||||
|  | 			case '/logoff': | ||||||
|  | 				this.logoff(ctx, false); | ||||||
|  | 				break; | ||||||
|  | 			default: | ||||||
| 				include('connected.uc', ctx); | 				include('connected.uc', ctx); | ||||||
|  | 				break; | ||||||
|  | 			} | ||||||
| 			return; | 			return; | ||||||
| 		} | 		} | ||||||
| 		if (!connected.data.ssid) { | 		if (!connected.data.ssid) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin