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