Skip to content

Commit 98d3d25

Browse files
committed
'AsTime' validator should be 'dateTime'
1 parent 01e0faf commit 98d3d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/saml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ class SubjectConfirmationDataType_(SamlBase):
441441
c_attributes = SamlBase.c_attributes.copy()
442442
c_child_order = SamlBase.c_child_order[:]
443443
c_cardinality = SamlBase.c_cardinality.copy()
444-
c_attributes['NotBefore'] = ('not_before', 'AsTime', False)
444+
c_attributes['NotBefore'] = ('not_before', 'dateTime', False)
445445
c_attributes['NotOnOrAfter'] = ('not_on_or_after', 'dateTime', False)
446446
c_attributes['Recipient'] = ('recipient', 'anyURI', False)
447447
c_attributes['InResponseTo'] = ('in_response_to', 'NCName', False)

0 commit comments

Comments
 (0)