NoCSRF icon indicating copy to clipboard operation
NoCSRF copied to clipboard

CSRF origin check fail

Open hall500 opened this issue 6 years ago • 1 comments

This line seems to be the problem with the csrf check not working not sure why though. // Check if session token matches form token if ( $origin[ $key ] != $hash ) if($throwException) throw new Exception( 'Invalid CSRF token.' ); else return false;

hall500 avatar Apr 23 '19 19:04 hall500

I think removing this line should enable it work fine. For some reason the origin key and hash don't seem to be similar.

hall500 avatar Apr 23 '19 20:04 hall500