refactoring the auth class.

This commit is contained in:
Taylor Otwell
2011-10-29 21:21:36 -05:00
parent b3cdcb38a6
commit bb2cd3e373

View File

@@ -158,7 +158,9 @@ class Auth {
// to assume the settings are the same. // to assume the settings are the same.
$config = Config::get('session'); $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);
} }
/** /**