
Originally Posted by
mgk59
Bonjour à tous,
je viens d’installer la dernière édition communautaire sur un hébergement mutualisé (infomaniak network)
et lors de mes tentatives de login j'ai le message suivant qui s'affiche:
Possible Cross Site Request Forgery (XSRF) Attack Detected
If you think this is a mistake please ask your administrator to add the following site to the acceptable referer list
gajocha.com
Click here for directions to add this site to the acceptable referer list
Directions
On your file system go to the root of your SugarCRM instance
Open the file config_override.php. If it does not exist, create it. (it should be at the same level as index.php and config.php)
Make sure the file starts with
<?php
followed by a new line
Add the following line to your config_override.php file
$sugar_config['http_referer']['list'][] = 'gajocha.com';
Save the file and it should work
Attempted action (Authenticate)
If you feel this is a valid action that should be allowed from any referer, add the following to your config_override.php file
$sugar_config['http_referer']['actions'] =array( 'index', 'ListView', 'DetailView', 'EditView', 'Login', 'Authenticate' );
j'ai donc créé un fichier config_override.php avec le contenu indiqué mais cela ne change rien!
Merci pour votre aide
Bookmarks