mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
uspot: fix a typo causing config to not load correctly
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -55,7 +55,7 @@ function request_click(ctx) {
|
||||
// delegate a local username/password authentication
|
||||
function request_credentials(ctx) {
|
||||
// make sure this is the right auth_mode
|
||||
if (portal/config?.config?.auth_mode != 'credentials') {
|
||||
if (portal.config?.config?.auth_mode != 'credentials') {
|
||||
include('error.uc', ctx);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user