Break instead of dying, and die anyway.
Fix indent
This commit is contained in:
parent
8cd093edb5
commit
dbcd137aee
1 changed files with 3 additions and 4 deletions
|
@ -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 ";
|
||||
|
|
Loading…
Reference in a new issue