Finishing up auth re-write.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user