GUACAMOLE-519: MR code review change to simplify getPostLogoutRedirect
This commit is contained in:
1 parent
b5838b96b7
commit
4763856847
1 file changed
+1
-4
+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());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user