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', ),