Fixup verbose names
This commit is contained in:
@ -3,7 +3,7 @@ from logging import getLogger
|
||||
|
||||
from passbook.lib.utils.reflection import path_to_class
|
||||
from passbook.saml_idp.exceptions import CannotHandleAssertion
|
||||
from passbook.saml_idp.models import SAMLApplication
|
||||
from passbook.saml_idp.models import SAMLProvider
|
||||
|
||||
LOGGER = getLogger(__name__)
|
||||
|
||||
@ -16,7 +16,7 @@ def get_processor(remote):
|
||||
|
||||
def find_processor(request):
|
||||
"""Returns the Processor instance that is willing to handle this request."""
|
||||
for remote in SAMLApplication.objects.all():
|
||||
for remote in SAMLProvider.objects.all():
|
||||
proc = get_processor(remote)
|
||||
try:
|
||||
if proc.can_handle(request):
|
||||
|
Reference in New Issue
Block a user