Bypass the CSRF checks?

Billing Area

Sorry for the inconvience we're currently re-doing our website. Why not check out our community forums?

Bypass the CSRF checks?

Open /config/blesta.php and find Configure::set('Blesta.csrf_bypass', array()); and replace it with one of the following:

Disable CSRF checks on the login page:
Configure::set("Blesta.csrf_bypass", array('client_login::index'));

Disable CSRF checks on the login and reset pages:
Configure::set('Blesta.csrf_bypass', array('client_login::index', 'client_login::reset'));

Disable CSRF checks on the domain ordering page:
Configure::set("Blesta.csrf_bypass", array('config::preconfig','domain_form::index'));

Please rate this article to help us improve our Knowledge Base.

0 0

You are not logged in