flows/: more migration progress, consolidate views

This commit is contained in:
Jens Langhammer
2020-05-07 21:30:52 +02:00
parent 8de66b27ad
commit 5400882d78
23 changed files with 77 additions and 48 deletions

View File

@ -1,2 +1,18 @@
"""flow urls"""
urlpatterns = []
from django.urls import path
from passbook.flows.view import AuthenticationView, FactorPermissionDeniedView
urlpatterns = [
path("auth/process/", AuthenticationView.as_view(), name="auth-process"),
path(
"auth/process/<slug:factor>/",
AuthenticationView.as_view(),
name="auth-process",
),
path(
"auth/process/denied/",
FactorPermissionDeniedView.as_view(),
name="auth-denied",
),
]