Skip to content
Snippets Groups Projects
Commit d5c4ff1e authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix: selecting the first organization would not work, because of incorrect test

parent fd0de5e6
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ if (isset($state['error'])) {
$queryParams = ['AuthState' => $authStateId];
}
if ($organizations === null || !empty($organization)) {
if ($organizations === null || $organization !== '') {
if (!empty($username) || !empty($password)) {
if ($source->getRememberUsernameEnabled()) {
$sessionHandler = \SimpleSAML\SessionHandler::getSessionHandler();
......
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