WIP strip seemingly unnecessary attribute verification bypass
gitea-wip/wcs/pipeline/head There was a failure building this commit Details
gitea/wcs/pipeline/head Build started... Details

This commit is contained in:
Paul Marillonnet 2019-10-07 18:28:09 +02:00
parent 8b9c2f838e
commit 92ce71d58f
1 changed files with 0 additions and 7 deletions

View File

@ -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: