sources/saml: improve error handling for missing assertion and missing subject
closes #3784 Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -163,7 +163,7 @@ class ACSView(View):
|
||||
|
||||
try:
|
||||
return processor.prepare_flow(request)
|
||||
except UnsupportedNameIDFormat as exc:
|
||||
except (UnsupportedNameIDFormat, ValueError) as exc:
|
||||
return bad_request_message(request, str(exc))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user