Skip to content

Commit 6789143

Browse files
author
Kevin Turner
committed
[project @ consumer.Consumer._idResCheckForFields: drop 'signed' from required_fields]
1 parent 225c0e7 commit 6789143

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎openid/consumer/consumer.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,8 @@ def _idResCheckSignature(self, message, server_url):
586586

587587

588588
def _idResCheckForFields(self, message, signed_list):
589-
required_fields = ['return_to', 'assoc_handle', 'sig', 'signed']
589+
# XXX: whether or not 'signed' is required depends on the assoc type.
590+
required_fields = ['return_to', 'assoc_handle', 'sig']
590591
require_sigs = ['return_to', 'identity', 'nonce']
591592

592593
for field in required_fields:

0 commit comments

Comments
 (0)