Jump to content
  • 0

Custom Form : How To Get The Csrf Token Variable?


Question

Posted

Hello,

 

I created a custom form within my  blesta theme in app/views/client/my-theme/structure.php,

and I'm also using csrf token verify option enabled in my blesta config file,

 

I understood I need to post a hidden field in my custom form, like this:

<input type="hidden" name="_csrf_token" value="??????????????????" >

but how to get the csrf_token variable?

 

 

6 answers to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...