mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 18:07:52 +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
|
// delegate a local username/password authentication
|
||||||
function request_credentials(ctx) {
|
function request_credentials(ctx) {
|
||||||
// make sure this is the right auth_mode
|
// 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);
|
include('error.uc', ctx);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user