Logout erases the auth cookie
authorChristos Stathis <chstath@ebs.gr>
Fri, 18 Nov 2011 10:25:11 +0000 (12:25 +0200)
committerChristos Stathis <chstath@ebs.gr>
Fri, 18 Nov 2011 10:25:11 +0000 (12:25 +0200)
src/gr/grnet/pithos/web/client/Pithos.java

index 8de2a99..2fda71b 100644 (file)
@@ -1178,7 +1178,7 @@ public class Pithos implements EntryPoint, ResizeHandler {
 
        public void logoff() {
         Configuration conf = (Configuration) GWT.create(Configuration.class);
-               Cookies.removeCookie(conf.authCookie());
+               Cookies.removeCookie(conf.authCookie(), "/");
                Cookies.removeCookie(conf.authTokenCookie(), "/");
                for (String s: Cookies.getCookieNames())
                        if (s.startsWith(conf.shibSessionCookiePrefix()))