Jump to content

Blesta External Login/Register Form


Recommended Posts

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']);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...