summaryrefslogtreecommitdiff
path: root/cgi/admin
diff options
context:
space:
mode:
authormailman1998-02-26 21:21:25 +0000
committermailman1998-02-26 21:21:25 +0000
commita5138d2855358d63a924c366f8f1275bad4a741e (patch)
treeea0e1e311f4e993d47a32b5a329977c076e15320 /cgi/admin
parent3e565bb63cddef16d4e1fd16ef66bbfcd530ea53 (diff)
downloadmailman-a5138d2855358d63a924c366f8f1275bad4a741e.tar.gz
mailman-a5138d2855358d63a924c366f8f1275bad4a741e.tar.zst
mailman-a5138d2855358d63a924c366f8f1275bad4a741e.zip
Make the random password a bit longer - four chars instead of two.
Diffstat (limited to 'cgi/admin')
-rwxr-xr-xcgi/admin3
1 files changed, 2 insertions, 1 deletions
diff --git a/cgi/admin b/cgi/admin
index 59382b654..5439abb9d 100755
--- a/cgi/admin
+++ b/cgi/admin
@@ -296,7 +296,8 @@ def ChangeOptions(list, opt_list, cgi_info, document):
for new_name in names:
try:
#FIXME: The admin needs to be able to specify the options to subscribe w/
- list.AddMember(new_name, mm_utils.GetRandomSeed())
+ genpw = mm_utils.GetRandomSeed() + mm_utils.GetRandomSeed()
+ list.AddMember(new_name, genpw)
#FIXME: Give some sort of an indication of which names didn't work, and why
# they didn't work...
except: