From f30b622aa183618d4edf7f81d74b66f46a2b84d2 Mon Sep 17 00:00:00 2001 From: Sonia Zorba Date: Mon, 13 Jul 2020 10:13:29 +0200 Subject: [PATCH] Local login bugfix --- include/front-controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/front-controller.php b/include/front-controller.php index 31ecec6..019da56 100644 --- a/include/front-controller.php +++ b/include/front-controller.php @@ -220,8 +220,8 @@ Flight::route('/auth/x509', function() { }); Flight::route('/local', function() { - global $AUTHENTICATION_METHODS; - sendAuthRedirect($AUTHENTICATION_METHODS['LocalIdP']['url']); + global $locator; + Flight::redirect($locator->config->authenticationMethods->LocalIdP->url); }); /** -- GitLab