uspot: fix a typo causing config to not load correctly

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2022-09-19 09:17:54 +02:00
parent 12e5efcda4
commit 08f082acfe

View File

@@ -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;
}