From b554f01256522951810fc67d24bb0e3523ad9f67 Mon Sep 17 00:00:00 2001 From: "renater.salaun" <renater.salaun@047e039d-479c-447e-8a29-aa6bf4a09bab> Date: Wed, 15 Oct 2014 12:14:25 +0000 Subject: [PATCH] Missing parameter to mail_notice() to send token to the right address Bug reported by Thomas Baerecke git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@30 047e039d-479c-447e-8a29-aa6bf4a09bab --- bin/account-manager-web.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/account-manager-web.pl b/bin/account-manager-web.pl index 1c8d8e8..ce99a54 100755 --- a/bin/account-manager-web.pl +++ b/bin/account-manager-web.pl @@ -330,7 +330,8 @@ sub req_generate_token { ## Send the challenge email with the token &IdPAccountManager::Tools::mail_notice('template' => 'templates/mail/send_authentication_token.tt2.eml', - 'data' => $self->{'param_out'}); + 'to' => $self->{'param_in'}{'email_address'}, + 'data' => $self->{'param_out'}); return 1; } -- GitLab