Login when requesting boards, otherwise one would have access just to games in progress
1.1 --- a/freemarkerdor/pom.xml Tue Dec 08 23:56:20 2009 +0100
1.2 +++ b/freemarkerdor/pom.xml Thu Dec 10 08:47:44 2009 +0100
1.3 @@ -10,7 +10,7 @@
1.4 <groupId>org.apidesign</groupId>
1.5 <artifactId>freemarkerdor</artifactId>
1.6 <name>freemarkerdor</name>
1.7 - <version>1.45</version>
1.8 + <version>1.46</version>
1.9 <url>http://maven.apache.org</url>
1.10 <dependencies>
1.11 <dependency>
1.12 @@ -125,3 +125,4 @@
1.13
1.14
1.15
1.16 +
2.1 --- a/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java Tue Dec 08 23:56:20 2009 +0100
2.2 +++ b/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java Thu Dec 10 08:47:44 2009 +0100
2.3 @@ -194,7 +194,7 @@
2.4 } catch (NumberFormatException ex) {
2.5 move = -1;
2.6 }
2.7 - WebResource url = base.path("games").path(id);
2.8 + WebResource url = base.path("games").queryParam("loginID", uuid).path(id);
2.9 if (move >= 0) {
2.10 url = url.queryParam("move", "" + move);
2.11 }