Playframework with CSRF : “CSRF token not found in session”?

后端 未结 2 1416
無奈伤痛
無奈伤痛 2021-02-15 18:36

I\'m making a simple authentication system using Playframework with their built-in CSRF filter and Security.Authenticator system, but I\'m facing a problem :

When the us

2条回答
  •  情歌与酒
    2021-02-15 19:27

    Finally the problem was located in an other part of my code that was cleaning the session in the login() method, removing the csrf token with it ...

提交回复
热议问题