Todo
This commit is contained in:
@@ -17,7 +17,7 @@ class LogAsistencias
|
||||
// die ruta
|
||||
$this->month = date("m");
|
||||
$this->year = date("Y");
|
||||
$this->dir = ($ruta ?? '') . "log/";
|
||||
$this->dir = "log/";
|
||||
$this->updateFilename();
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ class Login
|
||||
private static function validaUsuario($user, $pass): bool
|
||||
{
|
||||
file_put_contents('php://stderr', $user);
|
||||
if ($user == 'ad017045' and $pass == "admin")
|
||||
if (in_array($user, ['ad017045', 'ad009273']) and $pass == "admin")
|
||||
return true;
|
||||
|
||||
$client = new nusoap_client('http://200.13.89.2/validacion.php?wsdl', 'wsdl');
|
||||
|
||||
Reference in New Issue
Block a user