Update csrf_token constant.
This commit is contained in:
@@ -155,7 +155,7 @@ class Form {
|
|||||||
{
|
{
|
||||||
$token = IoC::core('session')->token();
|
$token = IoC::core('session')->token();
|
||||||
|
|
||||||
return static::input('hidden', Session::token, $token);
|
return static::input('hidden', Session::csrf_token, $token);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user