Ensure there is a session before getting the session id
This commit is contained in:
parent
22470fdb2c
commit
6d94f3eaa8
@ -50,6 +50,8 @@ class SessionCsrfProvider extends DefaultCsrfProvider
|
|||||||
*/
|
*/
|
||||||
protected function getSessionId()
|
protected function getSessionId()
|
||||||
{
|
{
|
||||||
|
$this->session->start();
|
||||||
|
|
||||||
return $this->session->getId();
|
return $this->session->getId();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user