Merge pull request #1255 from joual/develop
Auth token now nulled on logout
This commit is contained in:
@@ -294,9 +294,6 @@ class AuthTest extends PHPUnit_Framework_TestCase {
|
||||
|
||||
Auth::logout();
|
||||
|
||||
// A workaround since Cookie will is only stored in memory, until Response class is called.
|
||||
Auth::driver()->token = null;
|
||||
|
||||
$this->assertNull(Auth::user());
|
||||
|
||||
$this->assertFalse(isset(Session::$instance->session['data']['laravel_auth_drivers_fluent_login']));
|
||||
|
||||
Reference in New Issue
Block a user