diff --git a/src/authentic2_auth_fc/utils.py b/src/authentic2_auth_fc/utils.py index 98c5d7b..5182007 100644 --- a/src/authentic2_auth_fc/utils.py +++ b/src/authentic2_auth_fc/utils.py @@ -151,7 +151,7 @@ def apply_user_info_mappings(user, user_info): elif hasattr(user.attributes, attribute): if mapping.get('if-empty') and getattr(user.attributes, attribute): continue - if getattr(mapping, 'verified', False): + if mapping.get('verified', False): setattr(user.verified_attributes, attribute, value) else: setattr(user.attributes, attribute, value)