$kirby->csrf()
Checks/returns a CSRF token
Parameters
Name | Type | Default | Description |
---|---|---|---|
$check | string |
null |
Pass a token here to compare it to the one in the session |
Return type
string
|bool
Checks/returns a CSRF token
Name | Type | Default | Description |
---|---|---|---|
$check | string |
null |
Pass a token here to compare it to the one in the session |
string
|bool