demo
demo copied to clipboard
Use logout_path() helper + add CSRF protection to logout
after these changes Use logout_path() helper + add CSRF protection to logout
change password is not working , Invalid CSRF token.
in UserController return $this->redirectToRoute('security_logout');
I suppose we need to leverage LogoutUrlGenerator::getLogoutPath()
in that spot too, which should fix the problem. Could you try this and probably create a PR?
@lxregistry Do you still have the problem?