Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
Windows 7, Sling 6
Description
Im trying to enable the user to delete his own account by sending a get Request to /satlab/user/delete.
First Im trying to log him out, by sending a redirect to /system/sling.logout.html
I also tried:
Session session = request.getResourceResolver().adaptTo(Session.class);
session.logout();
but this doesnt seem to work. Am I doing something wrong? Or is that a bug?
@Override
protected void doGet(SlingHttpServletRequest request,
SlingHttpServletResponse response) throws ServletException,
IOException