Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • CiviCRM Core CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 1k
    • Issues 1k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • DevelopmentDevelopment
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #1170

Fix getLoginURL() for Backdrop

Because of https://github.com/backdrop/backdrop-issues/issues/260, any anonymous visits to /user will redirect to /user/login. Currently CRM_Utils_System_Backdrop::getLoginURL() creates a link to /user?destination... and this URL will automatically try to redirect. And because of Backdrop/Drupal allowing the ?destination parameter to override other redirects, it will automatically go to that destination instead of staying at /user or even /user/login

There's probably an easy fix by just changing getLoginURL to point to /user/login and no immediate redirect will happen.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking