diff options
| author | bwarsaw | 2002-03-04 20:17:50 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-03-04 20:17:50 +0000 |
| commit | 00e67b86f79d9dd2bf71a9470914cf073449a117 (patch) | |
| tree | 9aeb9ca03c6f6b4d37b35fc4ddf93f39b22add1f /Mailman/Cgi/confirm.py | |
| parent | 4d0bbc2b1b2633d4e4f6597d5577ae71e8e6568a (diff) | |
| download | mailman-00e67b86f79d9dd2bf71a9470914cf073449a117.tar.gz mailman-00e67b86f79d9dd2bf71a9470914cf073449a117.tar.zst mailman-00e67b86f79d9dd2bf71a9470914cf073449a117.zip | |
Diffstat (limited to 'Mailman/Cgi/confirm.py')
| -rw-r--r-- | Mailman/Cgi/confirm.py | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/Mailman/Cgi/confirm.py b/Mailman/Cgi/confirm.py index c06c9f865..f7314a9a6 100644 --- a/Mailman/Cgi/confirm.py +++ b/Mailman/Cgi/confirm.py @@ -213,6 +213,9 @@ def subscription_prompt(mlist, doc, cookie, options page which you can use to further customize your membership options. + <p>Note: your password will be emailed to you once your subscription is + confirmed. You can change it by visiting your personal options page. + <p>Or hit <em>Cancel and discard</em> to cancel this subscription request.""") + '<p><hr>' if mlist.subscribe_policy in (1, 3): @@ -225,6 +228,10 @@ def subscription_prompt(mlist, doc, cookie, or reject your membership request. You will receive notice of their decision. + <p>Note: your password will be emailed to you once your subscription + is confirmed. You can change it by visiting your personal options + page. + <p>Or you can hit <em>Cancel and discard</em> now to cancel this subscription request.""") + '<p><hr>' table.AddRow([result]) @@ -233,10 +240,10 @@ def subscription_prompt(mlist, doc, cookie, table.AddRow([Label(_('Your email address:')), email]) table.AddRow([Label(_('Your real name:')), TextBox('realname', name)]) - table.AddRow([Label(_('Password:')), - PasswordBox('password', password)]) - table.AddRow([Label(_('Password (confirm):')), - PasswordBox('pwconfirm', password)]) +## table.AddRow([Label(_('Password:')), +## PasswordBox('password', password)]) +## table.AddRow([Label(_('Password (confirm):')), +## PasswordBox('pwconfirm', password)]) table.AddRow([Label(_('Receive digests?')), RadioButtonArray('digests', (_('No'), _('Yes')), checked=digest, values=(0, 1))]) @@ -278,14 +285,14 @@ def subscription_confirm(mlist, doc, cookie, cgidata): try: # Some pending values may be overridden in the form. email of # course is hardcoded. ;) - cgipasswd = cgidata.getvalue('password') - cgiconfirm = cgidata.getvalue('pwconfirm') - if cgipasswd <> cgiconfirm: - setformpasswd = 0 - pw = None - else: - setformpasswd = 1 - pw = cgipasswd +## cgipasswd = cgidata.getvalue('password') +## cgiconfirm = cgidata.getvalue('pwconfirm') +## if cgipasswd <> cgiconfirm: +## setformpasswd = 0 +## pw = None +## else: +## setformpasswd = 1 +## pw = cgipasswd lang = cgidata.getvalue('language') if cgidata.has_key('digests'): try: |
