diff options
author | lpsolit%gmail.com <> | 2006-08-20 01:11:59 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-08-20 01:11:59 +0000 |
commit | 59285f71c6ed0d4db7d4b0455902130a2d7c83bd (patch) | |
tree | 49e2e47a53bb4ac31c10d3225b5e0a66edc5c126 /Bugzilla/BugMail.pm | |
parent | 9dfdfd787ff4c0afac28b66e67082712ec2a3d92 (diff) | |
download | bugs-59285f71c6ed0d4db7d4b0455902130a2d7c83bd.tar bugs-59285f71c6ed0d4db7d4b0455902130a2d7c83bd.tar.gz bugs-59285f71c6ed0d4db7d4b0455902130a2d7c83bd.tar.bz2 bugs-59285f71c6ed0d4db7d4b0455902130a2d7c83bd.tar.xz bugs-59285f71c6ed0d4db7d4b0455902130a2d7c83bd.zip |
Bug 87795: Creating an account should send token and wait for confirmation (prevent user account abuse) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat r=bkor a=myk
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r-- | Bugzilla/BugMail.pm | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index 07ebf226b..35b05d231 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -654,20 +654,6 @@ sub sendMail { return 1; } -# Send the login name and password of the newly created account to the user. -sub MailPassword { - my ($login, $password) = (@_); - my $template = Bugzilla->template; - my $vars = { - mailaddress => $login . Bugzilla->params->{'emailsuffix'}, - login => $login, - password => $password }; - my $msg; - $template->process("email/password.txt.tmpl", $vars, \$msg) - || ThrowTemplateError($template->error()); - MessageToMTA($msg); -} - # Get bug comments for the given period and format them to be used in emails. sub get_comments_by_bug { my ($id, $start, $end) = @_; |