From abbcbfdb209265eb19c367141f943ffd20d3ebef Mon Sep 17 00:00:00 2001 From: Guillaume Rousse <guillaume.rousse@renater.fr> Date: Tue, 7 Nov 2017 09:53:41 +0100 Subject: [PATCH] oops --- lib/IdPAccountManager/WebRequest.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/IdPAccountManager/WebRequest.pm b/lib/IdPAccountManager/WebRequest.pm index 3f0e8f6..2028a4d 100755 --- a/lib/IdPAccountManager/WebRequest.pm +++ b/lib/IdPAccountManager/WebRequest.pm @@ -412,10 +412,11 @@ sub req_generate_token { ## Send the challenge email with the token IdPAccountManager::Tools::mail_notice( - template => 'mail/send_authentication_token.tt2.eml', - to => $self->{in}->{email_address}, - data => $self->{out}, - logger => $self->{logger} + template => 'mail/send_authentication_token.tt2.eml', + templates_dir => $self->{configuration}->{templates_dir}, + to => $self->{in}->{email_address}, + data => $self->{out}, + logger => $self->{logger} ); $self->{logger}->infof( -- GitLab