flows: complete migration to FlowExecutorView, fully use context

This commit is contained in:
Jens Langhammer
2020-05-08 16:10:27 +02:00
parent 114bb1b0bd
commit 2a85e5ae87
16 changed files with 180 additions and 416 deletions

View File

@ -1,23 +1,8 @@
"""flow urls"""
from django.urls import path
from passbook.flows.views import (
AuthenticationView,
FactorPermissionDeniedView,
FlowExecutorView,
)
from passbook.flows.views import FlowExecutorView
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",
),
path("<slug:flow_slug>/", FlowExecutorView.as_view(), name="flow-executor"),
]