Fixes issue #141 and a typo.

This commit is contained in:
Paul Boco 2011-11-06 11:39:52 -06:00
parent 6eae4c982b
commit fb25edd0b1
1 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ protected static function recall($cookie)
* and their user ID will be stored in the session via the "login" method. * and their user ID will be stored in the session via the "login" method.
* *
* The user may also be "remembered", which will keep the user logged into the * The user may also be "remembered", which will keep the user logged into the
* application for one year or until they logout. The user is rememberd via * application for one year or until they logout. The user is remembered via
* an encrypted cookie. * an encrypted cookie.
* *
* @param string $username * @param string $username
@ -128,7 +128,7 @@ public static function attempt($username, $password = null, $remember = false)
if ( ! is_null($user)) if ( ! is_null($user))
{ {
static::login($user, $config, $remember); static::login($user, $remember);
return true; return true;
} }