branch develop updated (7da4b570 -> 6edd6faa)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git from 7da4b570 correction error riot new 6edd6faa fixes #137 suppression des cookies au logout The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 6edd6faafed0bbd8ad806df41a9f212c24bb33e5 Author: Kevin Morin <morin@codelutin.com> Date: Thu Sep 7 16:29:58 2017 +0200 fixes #137 suppression des cookies au logout Summary of changes: .../src/main/java/org/chorem/pollen/rest/api/v1/AuthApi.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 6edd6faafed0bbd8ad806df41a9f212c24bb33e5 Author: Kevin Morin <morin@codelutin.com> Date: Thu Sep 7 16:29:58 2017 +0200 fixes #137 suppression des cookies au logout --- .../src/main/java/org/chorem/pollen/rest/api/v1/AuthApi.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/v1/AuthApi.java b/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/v1/AuthApi.java index 776a4f6c..1dbfbd1a 100644 --- a/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/v1/AuthApi.java +++ b/pollen-rest-api/src/main/java/org/chorem/pollen/rest/api/v1/AuthApi.java @@ -229,7 +229,7 @@ public class AuthApi { @Path("/logout") @GET - public boolean logout(@Context SecurityService securityService, + public Response logout(@Context SecurityService securityService, @Context PollenSecurityContext securityContext) { securityService.logout(); @@ -237,7 +237,7 @@ public class AuthApi { // Remove the session token from security context securityContext.setSessionToken(null); - return true; + return removeAuthCookie(Response.status(Response.Status.NO_CONTENT)).build(); } -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm