GUACAMOLE-195: Remove incorrect check on empty username string.
This commit is contained in:
1 parent
fdc654b945
commit
41b60ed62b
1 file changed
+1
-1
+1
-1
@@ -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