From aae2ee4381a3cafb48f8af09abbc199914b70e4e Mon Sep 17 00:00:00 2001
From: "renater.salaun" <renater.salaun@047e039d-479c-447e-8a29-aa6bf4a09bab>
Date: Wed, 18 Mar 2015 08:13:17 +0000
Subject: [PATCH] add detailed log while sending token

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@113 047e039d-479c-447e-8a29-aa6bf4a09bab
---
 bin/account-manager-web.pl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bin/account-manager-web.pl b/bin/account-manager-web.pl
index 09ea312..ac1b410 100755
--- a/bin/account-manager-web.pl
+++ b/bin/account-manager-web.pl
@@ -420,6 +420,10 @@ sub req_generate_token {
                                            'to' => $self->{'param_in'}{'email_address'},
                                            'data' => $self->{'param_out'});
     
+    &IdPAccountManager::Tools::do_log('info', "Token send to %s for sp_entityid=%s;token=%s", $self->{'param_in'}{'email_address'},
+                                      $self->{'param_in'}{'sp_entityid'}, $self->{'param_out'}{'authentication_token'});
+
+    
     return 1;
 }
 
-- 
GitLab