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

后端 未结 2 626
遥遥无期
遥遥无期 2021-02-15 19:01

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:09

    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 ...

提交回复
热议问题