X-Git-Url: https://git.llucax.com/z.facultad/75.43/tp1.git/blobdiff_plain/8f9079f82ce7a87d5a16f392ec73f9301b50d4ea..4cdf275eac5ad4bd335ad879fdd9a24b522ed53d:/src/lib/validacion.php diff --git a/src/lib/validacion.php b/src/lib/validacion.php index 94110eb..04f51cd 100644 --- a/src/lib/validacion.php +++ b/src/lib/validacion.php @@ -154,7 +154,7 @@ function check_asociado($user) /// Verifica que sea la password correcta. function check_password($user, $pass) { - if (Usuario::validar($user, $pass)) return true; + if ($user->getPassword() == $pass) return true; error('ContraseƱa incorrecta!'); return false; }