From ca4c302c6a78697b662f24d2f6fc75dff3ee6bd0 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 15 Jul 2014 15:25:09 +0200 Subject: [PATCH] Disable WG specifics in r2_login script --- code/web/public_php/login/r2_login.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/web/public_php/login/r2_login.php b/code/web/public_php/login/r2_login.php index 45f17a949..8e97aafae 100644 --- a/code/web/public_php/login/r2_login.php +++ b/code/web/public_php/login/r2_login.php @@ -337,7 +337,9 @@ } else { + $reason = errorMsg(2001, $login, 'checkUserValidity'); // Check if this is not an unconfirmed account + /* $query = "SELECT GamePassword, Email, Language FROM signup_data WHERE login='$login'"; $result = mysqli_query($link, $query) or die (errorMsgBlock(3006, $query, 'main', $DBName, $DBHost, $DBUserName, mysqli_error($link))); @@ -369,6 +371,7 @@ $reason = errorMsg(2004, 'db signup_data'); $res = false; } + */ } } else @@ -496,8 +499,9 @@ } else { + die (errorMsgBlock(2001, $login, 'askSalt')); // Check if this is not an unconfirmed account - $query = "SELECT GamePassword, Language FROM signup_data WHERE login='$login'"; + /*$query = "SELECT GamePassword, Language FROM signup_data WHERE login='$login'"; $result = mysqli_query($link, $query) or die (errorMsgBlock(3006, $query, 'main', $DBName, $DBHost, $DBUserName, mysqli_error($link))); if (mysqli_num_rows($result) == 0) @@ -524,7 +528,7 @@ setMsgLanguage(array_keys($languages)); } die (errorMsgBlock(2003)); - } + }*/ } } else