diff --git a/integration/js/src/main/resources/keycloak.js b/integration/js/src/main/resources/keycloak.js index 265e3e5636..928ed691a5 100755 --- a/integration/js/src/main/resources/keycloak.js +++ b/integration/js/src/main/resources/keycloak.js @@ -682,11 +682,6 @@ oauth.newUrl += '#' + oauth.fragment; } - return oauth; - } else if (oauth.fragment) { - // logout has been performed, fragment needs to be updated in URL - oauth.newUrl += '#' + oauth.fragment; - return oauth; } }