Skip to content

Commit

Permalink
fix: login with unexisting user lead to a white page - EXO-70765
Browse files Browse the repository at this point in the history
Before this fix, when the user logs with a non existing user, a white page is displayed instead of the login page with the classic error message
This problem is due to a test when caseInsensitive is true, which set the username to a null value
This commit add an additional test to not set the username to null

Resolves Meeds-io/meeds#1826
  • Loading branch information
rdenarie committed Apr 2, 2024
1 parent d59ba0f commit 12dbbb6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -200,7 +200,7 @@ public String getContextPath() {
username = realUsername;
}
}
} else if (caseInsensitive) {
} else if (caseInsensitive && realUsername != null) {
username = realUsername;
}

Expand Down

0 comments on commit 12dbbb6

Please sign in to comment.