# HG changeset patch # User Björn Ricks # Date 1350982248 -7200 # Node ID a04862abce42a8acd01da8befc41ab20d9e0a64c # Parent c179cd02177d78eeb4f48f2b078469b876ad4d6a Don't redirect to the login page without query params Don't redirect to the login page without query params for the development mode. Therefore just reload the page after the user object is removed from the session and GGInAFilter will redirect to the correct long URL. diff -r c179cd02177d -r a04862abce42 flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java Tue Oct 23 09:59:16 2012 +0200 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java Tue Oct 23 10:50:48 2012 +0200 @@ -99,7 +99,9 @@ } public void onSuccess(Void result) { - Window.Location.replace("/login.jsp"); + /* Just reload the page. GGInAFilter is goint to redirect + * to the correct login page */ + Window.Location.reload(); } });