diff --git a/src/main/java/edu/byu/cs/controller/CasController.java b/src/main/java/edu/byu/cs/controller/CasController.java index 99c21263..120a8e73 100644 --- a/src/main/java/edu/byu/cs/controller/CasController.java +++ b/src/main/java/edu/byu/cs/controller/CasController.java @@ -49,7 +49,7 @@ public class CasController { } // TODO: call cas logout endpoint with ticket - ctx.removeCookie("/", "token"); + ctx.removeCookie("token", "/"); ctx.redirect(ApplicationProperties.frontendUrl(), HttpStatus.OK); };