mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-364: eliminate unnecessary local variable
This commit is contained in:
@@ -243,8 +243,7 @@ public class AuthenticationService {
|
||||
AuthenticationSuccessEvent event = new AuthenticationSuccessEvent(
|
||||
userContext, authenticatedUser.getCredentials());
|
||||
|
||||
boolean ok = listenerService.authenticationSucceeded(event);
|
||||
if (!ok) {
|
||||
if (!listenerService.authenticationSucceeded(event)) {
|
||||
throw new GuacamoleAuthenticationRejectedException();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user