From dbcd137aee462cb20acf055880769797141da3b5 Mon Sep 17 00:00:00 2001 From: Stanislas Dolcini Date: Tue, 2 Oct 2018 19:40:42 +0200 Subject: [PATCH] Break instead of dying, and die anyway. Fix indent --- code/web/public_php/login/r2_login.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/code/web/public_php/login/r2_login.php b/code/web/public_php/login/r2_login.php index 9f19065dc..48b2e2694 100755 --- a/code/web/public_php/login/r2_login.php +++ b/code/web/public_php/login/r2_login.php @@ -35,7 +35,7 @@ switch ($_GET['cmd']) { case 'ask': // client ask for a login salt askSalt($_GET['login'], $submittedLang); - die(); + break; case 'login': $domainId = -1; // client sent is login info @@ -79,7 +79,7 @@ switch ($_GET['cmd']) { if (!$login->waitCallback()) { die(errorMsgBlock(3003)); } - + break; //the rest of the process is done in the callback function } } @@ -243,8 +243,7 @@ function checkUserValidity($login, $password, $clientApplication, $cp, &$id, &$r } } else { -// // check if the user not already online - // + // // check if the user not already online // if ($row["State"] != "Offline") // { // $reason = "$login is already online and ";