csrf()
Checks / returns a CSRF token
Parameters
Name | Type | Default | Description |
---|---|---|---|
$check | string |null |
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 |
null |
Pass a token here to compare it to the one in the session |
string
|bool