From 0f38c3d7a03a17ea5f791cab29b4503d8b57b765 Mon Sep 17 00:00:00 2001 From: Seamus Johnston Date: Tue, 13 Jun 2023 08:25:12 -0500 Subject: [PATCH 1/2] Remove whoami page --- src/.pa11yci | 3 --- src/registrar/config/urls.py | 1 - src/registrar/templates/base.html | 2 +- src/registrar/templates/whoami.html | 10 ---------- src/registrar/tests/test_views.py | 13 ------------- src/registrar/views/__init__.py | 1 - src/registrar/views/whoami.py | 8 -------- 7 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 src/registrar/templates/whoami.html delete mode 100644 src/registrar/views/whoami.py diff --git a/src/.pa11yci b/src/.pa11yci index e641d58e4..4efa264f9 100644 --- a/src/.pa11yci +++ b/src/.pa11yci @@ -2,13 +2,10 @@ "defaults": { "concurrency": 1, "timeout": 30000, - "hideElements": "a[href='/whoami/']" - }, "urls": [ "http://localhost:8080/", "http://localhost:8080/health/", - "http://localhost:8080/whoami/", "http://localhost:8080/register/", "http://localhost:8080/register/organization/", "http://localhost:8080/register/org_federal/", diff --git a/src/registrar/config/urls.py b/src/registrar/config/urls.py index 0ef9fbe36..c21d0206c 100644 --- a/src/registrar/config/urls.py +++ b/src/registrar/config/urls.py @@ -45,7 +45,6 @@ for step, view in [ urlpatterns = [ path("", views.index, name="home"), - path("whoami/", views.whoami, name="whoami"), path("admin/", admin.site.urls), path( "application//edit/", diff --git a/src/registrar/templates/base.html b/src/registrar/templates/base.html index 3ca280a0b..977366e47 100644 --- a/src/registrar/templates/base.html +++ b/src/registrar/templates/base.html @@ -152,7 +152,7 @@