removePersistentLogin() public method

Remove the persisted login token from client and server
public removePersistentLogin ( ) : void
return void
Example #1
0
 function testRemoveWithoutCookieCantDeleteHash()
 {
     $this->dbMock->expects($this->never())->method('deleteData');
     $this->svc->removePersistentLogin();
     $this->assertSame('', $this->lastCookieSet->value);
     $this->assertSame($this->thirtyDaysAgo, $this->lastCookieSet->expire);
     $this->assertNull($this->session->get('code'));
 }