Commit 023e4f81 authored by Cyril Vazquez's avatar Cyril Vazquez
Browse files

Update MIGRATION.md

parent 4766de47
......@@ -46,28 +46,28 @@ SetEnv LAABS_DEPENDENCIES repository;xml;html;localisation;datasource;sdo;json;f
La dépendance amène une configuration associée.
Si cette configuration n'est pas ajoutée cela n'empêche en rien le bon fonctionnement de l'application.
```bash
```ini
[dependency.csrf]
whiteList = "['user/login']"
config = '{
"CSRFP_TOKEN" : "",
"logDirectory" : "/tmp",
"failedAuthAction" : {
"GET" : 0,
"POST" : 0
config = "{
'CSRFP_TOKEN' : '',
'logDirectory' : '/tmp',
'failedAuthAction' : {
'GET' : 0,
'POST' : 0
},
"errorRedirectionPage" : "",
"customErrorMessage" : "",
"jsUrl" : "/public/js/csrf/csrfprotector.js",
"tokenLength" : 10,
"cookieConfig" : {
"path" : "",
"domain" : "",
"secure" : false
'errorRedirectionPage' : '',
'customErrorMessage' : '',
'jsUrl' : '/public/js/csrf/csrfprotector.js',
'tokenLength' : 10,
'cookieConfig' : {
'path' : '',
'domain' : '',
'secure' : false
},
"disabledJavascriptMessage" : "This site attempts to protect users against <a href='https://www.owasp.org/index.php/Cross-Site_Request_Forgery_%28CSRF%29'> Cross-Site Request Forgeries </a> attacks. In order to do so, you must have JavaScript enabled in your web browser otherwise this site will fail to work correctly for you. See details of your web browser for how to enable JavaScript.",
"verifyGetFor": {}
}'
'disabledJavascriptMessage' : 'This site attempts to protect users against <a href='https://www.owasp.org/index.php/Cross-Site_Request_Forgery_%28CSRF%29'> Cross-Site Request Forgeries </a> attacks. In order to do so, you must have JavaScript enabled in your web browser otherwise this site will fail to work correctly for you. See details of your web browser for how to enable JavaScript.',
'verifyGetFor': {}
}"
```
### Public user story
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment