Skip to content
Snippets Groups Projects
Commit e519773f authored by buczekp's avatar buczekp
Browse files

[LMS-1515] removed history token from URL on logout

SVN: 15704
parent 88e1912a
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,8 @@
package ch.systemsx.cisd.openbis.generic.client.web.client.application.menu.user.action;
import com.google.gwt.user.client.History;
import ch.systemsx.cisd.openbis.generic.client.web.client.ICommonClientServiceAsync;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.IViewContext;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.util.IDelegatedAction;
......@@ -37,6 +39,7 @@ public class LogoutAction implements IDelegatedAction
public void execute()
{
History.newItem(""); // clears history token in URL
DisplaySettings displaySettings =
viewContext.getModel().getSessionContext().getDisplaySettings();
viewContext.getService().logout(displaySettings, new LogoutCallback(viewContext));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment