From 4fc51397513e20f5bfd4d51af2155c3b0cd87dd9 Mon Sep 17 00:00:00 2001 From: Javier Paniagua Date: Sun, 10 Sep 2023 12:07:32 +0200 Subject: [PATCH] unbotch urls for phone setup and create (fixes #655) --- two_factor/plugins/phonenumber/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/two_factor/plugins/phonenumber/urls.py b/two_factor/plugins/phonenumber/urls.py index f8f15c3f2..cbb0c56dc 100644 --- a/two_factor/plugins/phonenumber/urls.py +++ b/two_factor/plugins/phonenumber/urls.py @@ -4,12 +4,12 @@ urlpatterns = [ path( - 'account/two_factor/backup/phone/register/', + 'register/', PhoneSetupView.as_view(), name='phone_create', ), path( - 'account/two_factor/backup/phone/unregister//', + 'unregister//', PhoneDeleteView.as_view(), name='phone_delete', ),