providers/saml: remove processor_path field

This commit is contained in:
Jens Langhammer
2020-07-11 13:28:03 +02:00
parent 92a09be8c0
commit 1b0c013d8e
5 changed files with 3 additions and 58 deletions

View File

@ -8,11 +8,7 @@ from django.utils.translation import gettext as _
from passbook.admin.fields import CodeMirrorWidget
from passbook.core.expression import PropertyMappingEvaluator
from passbook.flows.models import Flow, FlowDesignation
from passbook.providers.saml.models import (
SAMLPropertyMapping,
SAMLProvider,
get_provider_choices,
)
from passbook.providers.saml.models import SAMLPropertyMapping, SAMLProvider
class SAMLProviderForm(forms.ModelForm):
@ -21,9 +17,6 @@ class SAMLProviderForm(forms.ModelForm):
authorization_flow = forms.ModelChoiceField(
queryset=Flow.objects.filter(designation=FlowDesignation.AUTHORIZATION)
)
processor_path = forms.ChoiceField(
choices=get_provider_choices(), label="Processor"
)
class Meta:
@ -31,7 +24,6 @@ class SAMLProviderForm(forms.ModelForm):
fields = [
"name",
"authorization_flow",
"processor_path",
"acs_url",
"audience",
"issuer",