summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/SecurityManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/SecurityManager.py b/Mailman/SecurityManager.py
index 5b1efb66f..6a328fd5f 100644
--- a/Mailman/SecurityManager.py
+++ b/Mailman/SecurityManager.py
@@ -213,7 +213,7 @@ class SecurityManager:
def MakeCookie(self, authcontext, user=None):
key, secret = self.AuthContextInfo(authcontext, user)
if key is None or secret is None:
- raise MMBadUserError
+ raise Errors.MMBadUserError
# Timestamp
issued = int(time.time())
# Get a digest of the secret, plus other information.