Finishing up auth re-write.

This commit is contained in:
Taylor Otwell
2012-05-01 11:33:10 -05:00
parent 60f61f318b
commit 60ab0b66e7
5 changed files with 21 additions and 64 deletions

View File

@@ -60,16 +60,6 @@ class Auth {
}
}
/**
* Run the logout method on all active drivers.
*
* @return void
*/
public static function logout()
{
array_walk(static::$drivers, function($d) { $d->logout(); });
}
/**
* Register a third-party authentication driver.
*

View File

@@ -2,6 +2,7 @@
use Laravel\Str;
use Laravel\Cookie;
use Laravel\Config;
use Laravel\Session;
abstract class Driver {
@@ -184,7 +185,7 @@ abstract class Driver {
extract($config);
Cookie::put($name, $minutes, $token, $path, $domain, $secure);
Cookie::put($name, $minutes, $value, $path, $domain, $secure);
}
/**