Break instead of dying, and die anyway.

Fix indent
This commit is contained in:
Stanislas Dolcini 2018-10-02 19:40:42 +02:00
parent 8cd093edb5
commit dbcd137aee

View file

@ -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
}
}
@ -244,7 +244,6 @@ function checkUserValidity($login, $password, $clientApplication, $cp, &$id, &$r
} else {
// // check if the user not already online
//
// if ($row["State"] != "Offline")
// {
// $reason = "$login is already online and ";