Skip to content
Snippets Groups Projects
Commit 6c3e8665 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Fix switched userpassbase/userpassorgbase invocation

parent 73db84b4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment