Skip to content

Commit

Permalink
Update usuarioControlador.php
Browse files Browse the repository at this point in the history
En la funcion valida eliminamos un echo que genera una alerta
  • Loading branch information
webcol committed Apr 8, 2016
1 parent 056a26d commit fcc897b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mvc/controladores/usuarioControlador.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function crearRegistro(){
public function valida(){
if(isset($_POST['usuario'])){
$usuario=$_POST['usuario'];
echo $clave=$this->_seg->cifrado($this->_seg->filtrarTexto($_POST['clave']));
$clave=$this->_seg->cifrado($this->_seg->filtrarTexto($_POST['clave']));

$datosUser = $this->cargaModelo('usuario');
$valida=$datosUser->seleccionUsuario($usuario, $clave);
Expand All @@ -77,4 +77,4 @@ public function cerrarSesion(){
$this->_ayuda->redireccionUrl('usuario');

}
}
}

0 comments on commit fcc897b

Please sign in to comment.