renamed auth remember to auth login.

This commit is contained in:
Taylor Otwell 2011-10-08 20:08:09 -05:00
parent c5c0ebc00a
commit 45933cd038
1 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ public static function attempt($username, $password = null)
{ {
if ( ! is_null($user = call_user_func(Config::get('auth.attempt'), $username, $password))) if ( ! is_null($user = call_user_func(Config::get('auth.attempt'), $username, $password)))
{ {
static::remember($user); static::login($user);
return true; return true;
} }
@ -85,7 +85,7 @@ public static function attempt($username, $password = null)
* @param object $user * @param object $user
* @return void * @return void
*/ */
public static function remember($user) public static function login($user)
{ {
static::$user = $user; static::$user = $user;