Skip to content

Commit 4763856

Browse files
committed
GUACAMOLE-519: MR code review change to simplify getPostLogoutRedirect
1 parent b5838b9 commit 4763856

File tree

1 file changed

+1
-4
lines changed
  • extensions/guacamole-auth-sso/modules/guacamole-auth-sso-openid/src/main/java/org/apache/guacamole/auth/openid/conf

1 file changed

+1
-4
lines changed

extensions/guacamole-auth-sso/modules/guacamole-auth-sso-openid/src/main/java/org/apache/guacamole/auth/openid/conf/ConfigurationService.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -483,10 +483,7 @@ public URI getLogoutEndpoint() throws GuacamoleException {
483483
* If guacamole.properties cannot be parsed.
484484
*/
485485
public URI getPostLogoutRedirectURI() throws GuacamoleException {
486-
URI postLogoutRedirectURI = environment.getProperty(OPENID_POST_LOGOUT_REDIRECT_URI);
487-
if (postLogoutRedirectURI != null)
488-
return postLogoutRedirectURI;
489-
return getRedirectURI();
486+
return environment.getProperty(OPENID_POST_LOGOUT_REDIRECT_URI, getRedirectURI());
490487
}
491488

492489
}

0 commit comments

Comments
 (0)