Modifies GET request behaviour if no CSRF TOKEN, but session cookie sent, to generate a new token and redirect to same url with token

Author Chris Pollett <chris@pollett.org>
Author date 2024-06-23 19:Jun:rd
Author local date 2024-06-23 12:Jun:rd -0700
Committer Chris Pollett <chris@pollett.org>
Committer date 2024-06-23 19:Jun:rd
Committer local date 2024-06-23 12:Jun:rd -0700
Commit ee52e7731dfeffa2172db008ca5783578fb9e493
Tree b8e318cec47655f9be63bd3a342a97bd7380a5a2
Parent 9bd65ef0554db88e414420bfaae7791b9d6e9275
Modifies GET request behaviour if no CSRF TOKEN, but session cookie sent, to generate a new token and redirect to same url with token
Affected files:
src/controllers/AdminController.php
src/controllers/ApiController.php
src/controllers/Controller.php
src/controllers/GroupController.php
src/controllers/RegisterController.php
src/controllers/SearchController.php
src/controllers/TestsController.php
src/controllers/components/SocialComponent.php
ViewGit