mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07: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();
|
||||
if (request != null) {
|
||||
String username = request.getRemoteUser();
|
||||
if(username == null || username == "") {
|
||||
if(username == null) {
|
||||
username = request.getHeader(confService.getHttpAuthHeader());
|
||||
}
|
||||
if (username != null) {
|
||||
|
Reference in New Issue
Block a user