diff --git a/pom.xml b/pom.xml index 7c10f0ea3..799edcb8b 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.wikidata.wdtk wdtk-parent - 0.14.7-SNAPSHOT + 0.14.7 pom Wikidata Toolkit diff --git a/wdtk-datamodel/pom.xml b/wdtk-datamodel/pom.xml index 8b4402380..7be4edfc0 100644 --- a/wdtk-datamodel/pom.xml +++ b/wdtk-datamodel/pom.xml @@ -6,7 +6,7 @@ org.wikidata.wdtk wdtk-parent - 0.14.7-SNAPSHOT + 0.14.7 wdtk-datamodel diff --git a/wdtk-distribution/pom.xml b/wdtk-distribution/pom.xml index fd03a4bee..ff52c0b27 100644 --- a/wdtk-distribution/pom.xml +++ b/wdtk-distribution/pom.xml @@ -6,7 +6,7 @@ org.wikidata.wdtk wdtk-parent - 0.14.7-SNAPSHOT + 0.14.7 wdtk-distribution diff --git a/wdtk-dumpfiles/pom.xml b/wdtk-dumpfiles/pom.xml index e346951c8..24ff0796b 100644 --- a/wdtk-dumpfiles/pom.xml +++ b/wdtk-dumpfiles/pom.xml @@ -5,7 +5,7 @@ org.wikidata.wdtk wdtk-parent - 0.14.7-SNAPSHOT + 0.14.7 wdtk-dumpfiles diff --git a/wdtk-examples/pom.xml b/wdtk-examples/pom.xml index 5168ebf87..9c1b9ccfa 100644 --- a/wdtk-examples/pom.xml +++ b/wdtk-examples/pom.xml @@ -5,7 +5,7 @@ org.wikidata.wdtk wdtk-parent - 0.14.7-SNAPSHOT + 0.14.7 wdtk-examples diff --git a/wdtk-rdf/pom.xml b/wdtk-rdf/pom.xml index 14c74ce69..9e513b5d0 100644 --- a/wdtk-rdf/pom.xml +++ b/wdtk-rdf/pom.xml @@ -5,7 +5,7 @@ org.wikidata.wdtk wdtk-parent - 0.14.7-SNAPSHOT + 0.14.7 wdtk-rdf diff --git a/wdtk-storage/pom.xml b/wdtk-storage/pom.xml index 7fc339052..706bfd75b 100644 --- a/wdtk-storage/pom.xml +++ b/wdtk-storage/pom.xml @@ -5,7 +5,7 @@ org.wikidata.wdtk wdtk-parent - 0.14.7-SNAPSHOT + 0.14.7 wdtk-storage diff --git a/wdtk-testing/pom.xml b/wdtk-testing/pom.xml index 6229f110f..830ff5c97 100644 --- a/wdtk-testing/pom.xml +++ b/wdtk-testing/pom.xml @@ -5,7 +5,7 @@ org.wikidata.wdtk wdtk-parent - 0.14.7-SNAPSHOT + 0.14.7 wdtk-testing diff --git a/wdtk-util/pom.xml b/wdtk-util/pom.xml index a6f778465..b2b723ab0 100644 --- a/wdtk-util/pom.xml +++ b/wdtk-util/pom.xml @@ -5,7 +5,7 @@ org.wikidata.wdtk wdtk-parent - 0.14.7-SNAPSHOT + 0.14.7 wdtk-util diff --git a/wdtk-wikibaseapi/pom.xml b/wdtk-wikibaseapi/pom.xml index 6658c6f5c..89ff19ce0 100644 --- a/wdtk-wikibaseapi/pom.xml +++ b/wdtk-wikibaseapi/pom.xml @@ -6,7 +6,7 @@ org.wikidata.wdtk wdtk-parent - 0.14.7-SNAPSHOT + 0.14.7 wdtk-wikibaseapi diff --git a/wdtk-wikibaseapi/src/main/java/org/wikidata/wdtk/wikibaseapi/BasicApiConnection.java b/wdtk-wikibaseapi/src/main/java/org/wikidata/wdtk/wikibaseapi/BasicApiConnection.java index bfdc9c2d1..3d0b8eab2 100644 --- a/wdtk-wikibaseapi/src/main/java/org/wikidata/wdtk/wikibaseapi/BasicApiConnection.java +++ b/wdtk-wikibaseapi/src/main/java/org/wikidata/wdtk/wikibaseapi/BasicApiConnection.java @@ -184,6 +184,8 @@ protected void login(String username, String password, ILogin loginFunction) thr loginFunction.login(token, username, password); } catch (NeedLoginTokenException | TokenErrorException e) { // try once more clearToken("login"); + clearToken("csrf"); + clearCookies(); token = getOrFetchToken("login"); loginFunction.login(token, username, password); }