user->login (method)

Purpose:

Logs in a user

See Also:

user->loginEmail (method)

Example:

$user->login('admin','password');

Data Type(s):

login($username = null, $password = null, $remember = false)

Location:

users/classes/User.php

Details:

Note that the User class must be instantiated and then you can call user->login

<?php $user = new User();
$user->login('admin','password');
?>