diff options
Diffstat (limited to 'keystone/notifications.py')
-rw-r--r-- | keystone/notifications.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keystone/notifications.py b/keystone/notifications.py index 65980b800..d96cc1661 100644 --- a/keystone/notifications.py +++ b/keystone/notifications.py @@ -580,6 +580,8 @@ class CadfNotificationWrapper(object): taxonomy.OUTCOME_FAILURE, target, self.event_type, reason=audit_reason) + if isinstance(ex, exception.AccountLocked): + raise exception.Unauthorized raise except Exception: # For authentication failure send a CADF event as well |