refactoring the auth class.

This commit is contained in:
Taylor Otwell 2011-10-29 21:21:36 -05:00
parent b3cdcb38a6
commit bb2cd3e373
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}
/**