Skip to content

Commit

Permalink
Revert admin redirect to /login
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Rosenberg authored and Jake Rosenberg committed Oct 5, 2023
1 parent b85ed8d commit 17dbeeb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions designsafe/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
from django.views.generic import RedirectView, TemplateView
from django.urls import reverse
from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import redirect
from designsafe.apps.auth.views import login_options as des_login_options
from django.contrib.auth.views import LogoutView as des_logout
from designsafe.views import project_version as des_version, redirect_old_nees
Expand All @@ -50,7 +49,6 @@

urlpatterns = [
# admin
url(r'^admin/login/', lambda _: redirect("/login/?next=/admin/")),
url(r'^admin/', admin.site.urls),
url(r'^admin/impersonate/', include('impersonate.urls')),

Expand Down

0 comments on commit 17dbeeb

Please sign in to comment.