user->loginEmail (method)

Purpose:

Logs in a user with an email address instead of username

See Also:

user->login (method)

Example:

$user->login('admin@aol.com','password');

Data Type(s):

user->loginEmail($email = 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@aol.com','password');
?>