From 4fc29f35d021228d2879c0cdd76a396ff9462121 Mon Sep 17 00:00:00 2001 From: christian Date: Sat, 25 Sep 2021 15:50:31 +0200 Subject: [PATCH] updated ip's, passwords and query for xenforo2 forum --- .../src/main/java/DataMapper/DataMapperCalls.java | 2 +- .../src/main/java/DataMapper/settings.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/RaceTimer/racetimer_endpoints/src/main/java/DataMapper/DataMapperCalls.java b/RaceTimer/racetimer_endpoints/src/main/java/DataMapper/DataMapperCalls.java index 1fce18e5..660d3a36 100644 --- a/RaceTimer/racetimer_endpoints/src/main/java/DataMapper/DataMapperCalls.java +++ b/RaceTimer/racetimer_endpoints/src/main/java/DataMapper/DataMapperCalls.java @@ -69,7 +69,7 @@ public class DataMapperCalls { public static ConcurrentMap> getURLBanners() { ConcurrentMap> playerRelatedUrlBanners = new MapMaker().concurrencyLevel(4).makeMap(); - String sqlXenforoQuery = "SELECT t2.provider_key, t1.user_group_id FROM `xf_user_group_relation` t1, `xf_user_external_auth` " + String sqlXenforoQuery = "SELECT t2.provider_key, t1.user_group_id FROM `xf_user_group_relation` t1, `xf_user_connected_account` " + "t2 WHERE t1.user_id = t2.user_id AND t2.provider = \"steam\""; try (Connection con = DBCPDataSource2.getConnection()) { try (PreparedStatement ps = con.prepareStatement(sqlXenforoQuery)) { diff --git a/RaceTimer/racetimer_endpoints/src/main/java/DataMapper/settings.java b/RaceTimer/racetimer_endpoints/src/main/java/DataMapper/settings.java index 9229de8e..edac59f5 100644 --- a/RaceTimer/racetimer_endpoints/src/main/java/DataMapper/settings.java +++ b/RaceTimer/racetimer_endpoints/src/main/java/DataMapper/settings.java @@ -12,9 +12,9 @@ package DataMapper; public class settings { static String racetimerURL = "jdbc:mysql://localhost:3306/unloze_racetimer_css?useLegacyDatetimeCode=false&serverTimezone=UTC"; static String racetimerUser = "unloze_racetimer_css"; - static String racetimerPassword = "foj342ronfeanfu32ruhfbb324"; + static String racetimerPassword = "fXPWQD13403rfnfdsfnFONF"; - static String forumURL = "jdbc:mysql://51.15.159.31:3306/unloze_forum?useLegacyDatetimeCode=false&serverTimezone=UTC"; + static String forumURL = "jdbc:mysql://195.154.53.196:3306/unloze_forum?useLegacyDatetimeCode=false&serverTimezone=UTC"; static String forumUser = "unloze_webtimer"; - static String forumPassword = "fn124FNFobn324FBEFn234"; + static String forumPassword = "Oj32n4nfofn234nfb234oFDOWq"; }