WIP strip seemingly unnecessary attribute verification bypass
This commit is contained in:
parent
8b9c2f838e
commit
92ce71d58f
|
@ -532,13 +532,6 @@ class Saml2Directory(Directory):
|
|||
# verified attributes
|
||||
verified_attributes = m.get('verified_attributes')
|
||||
if verified_attributes is not None:
|
||||
if verified_attributes:
|
||||
# If there are any verified attributes we consider
|
||||
# first and last names are also verified. This is to work
|
||||
# around the fact that those attributes are handled
|
||||
# differently in authentic and cannot be marked as
|
||||
# verified.
|
||||
verified_attributes.extend(['first_name', 'last_name'])
|
||||
verified_fields = []
|
||||
verified_fieldnames = []
|
||||
if user.get_formdef() and user.get_formdef().fields:
|
||||
|
|
Loading…
Reference in New Issue