Jump to content

Recommended Posts

Posted
On 4/20/2022 at 3:53 PM, Robert-Jan Kuilema said:

Hello, 

 

I was wondering if there is a documentation or a code to login outside my Blesta installation, so on my other website.
 

Kind Regards

You can view the source of the login page and copy the form fields and post URL. However, you will need to disable CSRF checks for the login page. Per https://docs.blesta.com/display/user/Configuration+Files you would update your /config/blesta.php to set the following for Blesta.csrf_bypass for the client area login URL.

Configure::set("Blesta.csrf_bypass", ['client_login::index']);

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...