Page MenuHomePhabricator

Block /admin login page in production & staging
Open, LowPublic

Description

There's no reason to make Django's /admin login page available to users in the Production or Staging environments. Staff are already authenticated, and/or can be added via command line by users with server access. No one should need to log in via /admin directly, so we shouldn't even let users try.

Related Objects

Event Timeline

Samwalton9 triaged this task as Low priority.Feb 14 2020, 1:55 PM
Samwalton9 created this task.

I have done some research on this and will raise a pull request soon

@NirmalaSainsara You have some feedback in your PR, do you need anything else from us to continue with this?

Hey sorry for the delay I will get back on it before this weekend.