Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D django-allauth-ens
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 5
    • Issues 5
    • 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
  • Klub Dev ENSKlub Dev ENS
  • django-allauth-ens
  • Merge requests
  • !4

Add a capture_login_admin view

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Théophile Bastian requested to merge tobast-capture-admin into master May 10, 2018
  • Overview 6
  • Commits 2
  • Pipelines 0
  • Changes 3

This fixes a redirection loop causing an authenticated user which is not staff accessing /admin to be loop-redirected between /admin -> /admin/login -> /accounts/login

Also include some hideous basic page to show a message. This should not be a problem; a non-admin user accessing /admin deserves hurting their eyes.

Please also increase the version number and publish to pypi at some point :)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: tobast-capture-admin