From 3f0be1d3581c343abe65a97238309064315200ca Mon Sep 17 00:00:00 2001
From: Doccrazy <Doccrazy@users.noreply.github.com>
Date: Mon, 22 Jan 2018 19:51:14 +0000
Subject: [PATCH] Update README.md

---
 src/main/java/org/keycloak/protocol/cas/endpoints/LogoutEndpoint.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/keycloak/protocol/cas/endpoints/LogoutEndpoint.java b/src/main/java/org/keycloak/protocol/cas/endpoints/LogoutEndpoint.java
index b29588f..1db8322 100644
--- a/src/main/java/org/keycloak/protocol/cas/endpoints/LogoutEndpoint.java
+++ b/src/main/java/org/keycloak/protocol/cas/endpoints/LogoutEndpoint.java
@@ -66,7 +66,7 @@
             logger.debug("finishing CAS browser logout");
             return response;
         }
-        return ErrorPage.error(session, Messages.FAILED_LOGOUT);
+        return ErrorPage.error(session, null, Response.Status.BAD_REQUEST, Messages.FAILED_LOGOUT);
     }
 
     private void checkClient(String service) {

--
Gitblit v1.9.1