- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
function Login($user_login, $user_password) {
if (isset($user_loginl) && isset($user_password)) {
$user = $this->mongo_db->get_where('users', array(
'EMAIL' => $user_email,
'PASSWORD' => $user_password)
);
if (isset($user->email)) {
return true;
}
}
return false;
}