Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A AuthENS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • 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
  • Klub Dev ENSKlub Dev ENS
  • AuthENS
  • Merge requests
  • !34

Handle LOGOUT_URL=None in the logout view

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Martin Pepin requested to merge kerl/issue20 into master Oct 02, 2021
  • Overview 3
  • Commits 2
  • Pipelines 2
  • Changes 1

The view used to crash when LOGOUT_URL was not set and the user was connect via CAS.

Cause: we assumed the result of LogoutView.get_next_page() to be a string and tried to prepend the domain name of the site to it.

Fix: redirect to the CAS' logout view without any next_page parameter.

Fixes #20 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: kerl/issue20