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':
|
case 'ask':
|
||||||
// client ask for a login salt
|
// client ask for a login salt
|
||||||
askSalt($_GET['login'], $submittedLang);
|
askSalt($_GET['login'], $submittedLang);
|
||||||
die();
|
break;
|
||||||
case 'login':
|
case 'login':
|
||||||
$domainId = -1;
|
$domainId = -1;
|
||||||
// client sent is login info
|
// client sent is login info
|
||||||
|
@ -79,7 +79,7 @@ switch ($_GET['cmd']) {
|
||||||
if (!$login->waitCallback()) {
|
if (!$login->waitCallback()) {
|
||||||
die(errorMsgBlock(3003));
|
die(errorMsgBlock(3003));
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
//the rest of the process is done in the callback function
|
//the rest of the process is done in the callback function
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -244,7 +244,6 @@ function checkUserValidity($login, $password, $clientApplication, $cp, &$id, &$r
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
// // check if the user not already online
|
// // check if the user not already online
|
||||||
//
|
|
||||||
// if ($row["State"] != "Offline")
|
// if ($row["State"] != "Offline")
|
||||||
// {
|
// {
|
||||||
// $reason = "$login is already online and ";
|
// $reason = "$login is already online and ";
|
||||||
|
|
Loading…
Reference in a new issue