ACC SHELL

Path : /srv/www/vhosts/tsisystem/app/models/
File Upload :
Current File : //srv/www/vhosts/tsisystem/app/models/user.php

<?php

/* $Id$ */

class User extends AppModel
{
	var $name = 'User';

    /**
     *
     */
    function loginUser($logname, $password)
    {
        $row = $this->findByLogname($logname);
        if ($row['User']['pass'] == md5($password)) {
            return $row['User'];
        }
        return array();
    }

}
?>

ACC SHELL 2018