# HG changeset patch # User Jaroslav Tulach # Date 1260431264 -3600 # Node ID 7d29ebd9c208797758e2d168c3c3b35535838ca7 # Parent e041463c81dbe66d7f427ced8b55b87fd60f148f Login when requesting boards, otherwise one would have access just to games in progress diff -r e041463c81db -r 7d29ebd9c208 freemarkerdor/pom.xml --- a/freemarkerdor/pom.xml Tue Dec 08 23:56:20 2009 +0100 +++ b/freemarkerdor/pom.xml Thu Dec 10 08:47:44 2009 +0100 @@ -10,7 +10,7 @@ org.apidesign freemarkerdor freemarkerdor - 1.45 + 1.46 http://maven.apache.org @@ -125,3 +125,4 @@ + diff -r e041463c81db -r 7d29ebd9c208 freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java --- a/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java Tue Dec 08 23:56:20 2009 +0100 +++ b/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java Thu Dec 10 08:47:44 2009 +0100 @@ -194,7 +194,7 @@ } catch (NumberFormatException ex) { move = -1; } - WebResource url = base.path("games").path(id); + WebResource url = base.path("games").queryParam("loginID", uuid).path(id); if (move >= 0) { url = url.queryParam("move", "" + move); }