From 6c3e8665347dd5b15f9e5459ee4ad299c2469737 Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst <thijs@kinkhorst.com> Date: Wed, 16 Mar 2022 14:41:31 +0000 Subject: [PATCH] Fix switched userpassbase/userpassorgbase invocation --- modules/core/lib/Controller/Login.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/lib/Controller/Login.php b/modules/core/lib/Controller/Login.php index af0c4bf8d..c38de3360 100644 --- a/modules/core/lib/Controller/Login.php +++ b/modules/core/lib/Controller/Login.php @@ -223,9 +223,9 @@ class Login try { if ($source instanceof UserPassOrgBase) { - UserPassBase::handleLogin($authStateId, $username, $password); - } else { UserPassOrgBase::handleLogin($authStateId, $username, $password, $organization); + } else { + UserPassBase::handleLogin($authStateId, $username, $password); } } catch (Error\Error $e) { // Login failed. Extract error code and parameters, to display the error -- GitLab