summaryrefslogtreecommitdiff
path: root/Mailman/SecurityManager.py
diff options
context:
space:
mode:
authortwouters2001-07-10 12:40:58 +0000
committertwouters2001-07-10 12:40:58 +0000
commitec87a9b4464fd2e19d4826a55ac15bf385194c26 (patch)
tree45d5536b474aa6dd52251f2bc74bb23a3053af7c /Mailman/SecurityManager.py
parentb2811449f9e68bc573c8ebb6764f749d1b4737ee (diff)
downloadmailman-ec87a9b4464fd2e19d4826a55ac15bf385194c26.tar.gz
mailman-ec87a9b4464fd2e19d4826a55ac15bf385194c26.tar.zst
mailman-ec87a9b4464fd2e19d4826a55ac15bf385194c26.zip
Diffstat (limited to 'Mailman/SecurityManager.py')
-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.