diff options
| author | Barry Warsaw | 2012-12-26 18:57:33 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2012-12-26 18:57:33 -0500 |
| commit | 2450a9c9642d06af1a60df70acb742e67959d77e (patch) | |
| tree | 6783cab3d27df8e331eba17e98f142981fe4cff1 /src/mailman/utilities/passwords.py | |
| parent | 9c5a2e27116c95484dd993c4b7ceed64ca9823e4 (diff) | |
| parent | 4bfaa225b080fdc406c561476aac98c3f53b16d8 (diff) | |
| download | mailman-2450a9c9642d06af1a60df70acb742e67959d77e.tar.gz mailman-2450a9c9642d06af1a60df70acb742e67959d77e.tar.zst mailman-2450a9c9642d06af1a60df70acb742e67959d77e.zip | |
Diffstat (limited to 'src/mailman/utilities/passwords.py')
| -rw-r--r-- | src/mailman/utilities/passwords.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mailman/utilities/passwords.py b/src/mailman/utilities/passwords.py index 44fdbc14f..9abc59402 100644 --- a/src/mailman/utilities/passwords.py +++ b/src/mailman/utilities/passwords.py @@ -63,6 +63,10 @@ class PasswordContext: :type password: :param hashed: The hash string to compare to. :type hashed: string + :return: 2-tuple where the first element is a flag indicating whether + the password verified or not, and the second value whether the + existing hash needs to be replaced (a str if so, else None). + :rtype: 2-tuple """ return self._context.verify_and_update(password, hashed) |
