RSS Feed/News CSRF Token

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,692
Points
823

Reputation:

Hi,

I'm using XenForo 2.0 for my site and I'm building an add-on. I find the documentation very lacking for 2.0 and am disappointed by this. Also, coming from a Laravel background, Zend and XenForo frameworks are fairly new to me.

All I am trying to do is retrieve a CSRF token in a view to allow me to make a POST request without getting the security problem message, but I can't figure out how to get the CSRF token from the add-on! Any help is much appreciated...

Regards.

Continue reading...
 
Status
Not open for further replies.
Top