Commit bb2cd3e3 authored by Taylor Otwell's avatar Taylor Otwell

refactoring the auth class.

parent b3cdcb38
......@@ -158,7 +158,9 @@ class Auth {
// 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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment