refactoring the auth class.
This commit is contained in:
parent
b3cdcb38a6
commit
bb2cd3e373
|
@ -158,7 +158,9 @@ protected static function remember($id)
|
|||
// to assume the settings are the same.
|
||||
$config = Config::get('session');
|
||||
|
||||
Cookie::forever(Auth::remember_key, $cookie, $config['path'], $config['domain'], $config['secure']);
|
||||
extract($config, EXTR_SKIP);
|
||||
|
||||
Cookie::forever(Auth::remember_key, $cookie, $path, $domain, $secure);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue