Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
8 / 8 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | /* |
| 3 | * This file is part of App Project. |
| 4 | * |
| 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | * file that was distributed with this source code. |
| 7 | */ |
| 8 | /** |
| 9 | * Anti-CSRF config. |
| 10 | * |
| 11 | * @see App::antiCsrf() |
| 12 | * @see https://docs.aplus-framework.com/guides/libraries/mvc/index.html#anti-csrf-service |
| 13 | */ |
| 14 | return [ |
| 15 | 'default' => [ |
| 16 | 'enabled' => true, |
| 17 | 'token_name' => 'csrf_token', |
| 18 | 'request_instance' => 'default', |
| 19 | 'session_instance' => 'default', |
| 20 | ], |
| 21 | ]; |