GUACAMOLE-519: MR code review change to simplify getPostLogoutRedirect

This commit is contained in:
Safa Bayar committed 2026-01-25 20:31:37 -05:00
1 parent b5838b96b7
commit 4763856847
1 file changed
+1 -4
@@ -483,10 +483,7 @@ public class ConfigurationService {
* If guacamole.properties cannot be parsed.
*/
public URI getPostLogoutRedirectURI() throws GuacamoleException {
URI postLogoutRedirectURI = environment.getProperty(OPENID_POST_LOGOUT_REDIRECT_URI);
if (postLogoutRedirectURI != null)
return postLogoutRedirectURI;
return getRedirectURI();
return environment.getProperty(OPENID_POST_LOGOUT_REDIRECT_URI, getRedirectURI());
}
}