asterisk2billing.org
http://forum.asterisk2billing.org/

CSRF error in custom module.
http://forum.asterisk2billing.org/viewtopic.php?f=18&t=11007
Page 1 of 1

Author:  gromm [ Thu Nov 20, 2014 8:48 pm ]
Post subject:  CSRF error in custom module.

I'm trying to maintain an old A2Billing module that worked before version 2.0. The module used to work fine, and it loads initially, but when I try to submit the form, I get a blank page with the error "CSRF Error!"

Grepping through the code, I see that the CSRF tokens are handled by customer.module.access.php, which has always been included in my module. I also can't see any difference in the libraries I use and the ones included in say, index.php or A2B_entity_card.php. Nor can I find any CSRF handling code in any of those files.

So I'm totally confused about what I'm doing wrong here.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/