nasaonacid / abstractAardvark

0 stars 0 forks source link

403 Forbidden when trying to answer after logged in #35

Closed nasaonacid closed 9 years ago

nasaonacid commented 9 years ago

When user logs in to the site and tries to play the game, the nodes will not snap to the slots. Upon checking the console the post verification requests are returning a 403 Forbidden error

nasaonacid commented 9 years ago

Solved. Issue was caused due to a lack of CSRF token for the post. Answer for this issue comes from https://docs.djangoproject.com/en/1.8/ref/csrf/#ajax

Addition of csrf to ajax post has now been made and works