renamed auth remember to auth login.
This commit is contained in:
parent
c5c0ebc00a
commit
45933cd038
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue