mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-195: Remove incorrect check on empty username string.
This commit is contained in:
@@ -74,7 +74,7 @@ public class AuthenticationProviderService {
|
|||||||
HttpServletRequest request = credentials.getRequest();
|
HttpServletRequest request = credentials.getRequest();
|
||||||
if (request != null) {
|
if (request != null) {
|
||||||
String username = request.getRemoteUser();
|
String username = request.getRemoteUser();
|
||||||
if(username == null || username == "") {
|
if(username == null) {
|
||||||
username = request.getHeader(confService.getHttpAuthHeader());
|
username = request.getHeader(confService.getHttpAuthHeader());
|
||||||
}
|
}
|
||||||
if (username != null) {
|
if (username != null) {
|
||||||
|
Reference in New Issue
Block a user