Robert-Jan Kuilema Posted April 20, 2022 Report Share Posted April 20, 2022 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 Quote Link to comment Share on other sites More sharing options...
Paul Posted April 26, 2022 Report Share Posted April 26, 2022 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']); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.