Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F firewall
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • firewall
  • Merge requests
  • !3

Use a table to store generated CSRF tokens

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed mattwire requested to merge csrftable into master Aug 09, 2020
  • Overview 4
  • Commits 2
  • Pipelines 0
  • Changes 19
  • Use a table to store generated CSRF tokens (civicrm_firewall_csrf_token).

    Previously this was stored in the user session but this causes problems if you request more than one token in the same session (eg. by opening multiple payment pages in different browser tabs).

  • Fix issue with cleanup job always deleting all records.

  • Add configurable CSRF token timeout via hidden setting (firewall_csrf_timeout) - default 24 hours.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: csrftable