Update the csrf_token constant.
This commit is contained in:
parent
b7b5bc6938
commit
e4fce8e468
|
|
@ -124,7 +124,7 @@ public static function secure()
|
||||||
*/
|
*/
|
||||||
public static function forged()
|
public static function forged()
|
||||||
{
|
{
|
||||||
return Input::get(Session::token) !== IoC::core('session')->token();
|
return Input::get(Session::csrf_token) !== IoC::core('session')->token();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue