This commit is contained in:
José Luis Garrido Labrador
2018-10-03 10:38:17 +02:00
parent 7cb682c146
commit dffbaacfbd
8 changed files with 10 additions and 40 deletions

View File

@@ -177,8 +177,6 @@ function loginRegister($default,$state=''){
}
function loginOrRegister($state,$request){
global $app;
switch ($state){
case 3:
return loginRegister('login','BAD_CREDENTIAL');

View File

@@ -27,7 +27,7 @@ function checkInfo($request){
function checklogin($email,$pass){
$db = new DB();
$bool = $db->checkPass($email,$pass);
if($bool){
$idu = $db->loadIDU($email);
$token = RandomString(50);