GUACAMOLE-195: Fix style issues with if statements.
This commit is contained in:
1 parent
8eb33b5ca6
commit
4faa806ae9
1 file changed
+2
-2
+2
-2
@@ -69,11 +69,11 @@ public class AuthenticationProviderService {
|
||||
|
||||
// Pull HTTP header from request if present
|
||||
HttpServletRequest request = credentials.getRequest();
|
||||
if(request != null) {
|
||||
if (request != null) {
|
||||
// Get the username from the header configured in guacamole.properties
|
||||
String username = request.getHeader(confService.getHttpAuthHeader());
|
||||
|
||||
if(username != null) {
|
||||
if (username != null) {
|
||||
AuthenticatedUser authenticatedUser = authenticatedUserProvider.get();
|
||||
authenticatedUser.init(username, credentials);
|
||||
return authenticatedUser;
|
||||
|
||||
Reference in new issue
Block a user