GUACAMOLE-195: Remove incorrect check on empty username string.

This commit is contained in:
Nick Couchman committed 2017-01-31 22:22:46 -05:00
1 parent fdc654b945
commit 41b60ed62b
1 file changed
+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) {