From ed0c571c197c529e1d6dc29fbe625d5305c520c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be>
Date: Tue, 10 Jan 2017 16:57:25 +0100
Subject: [PATCH] Returning dn from passwordRecovery step2

---
 html/class_passwordRecovery.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/html/class_passwordRecovery.inc b/html/class_passwordRecovery.inc
index 136a8d35b..c36bcd1fc 100644
--- a/html/class_passwordRecovery.inc
+++ b/html/class_passwordRecovery.inc
@@ -515,6 +515,8 @@ class passwordRecovery extends standAlonePage {
     $smarty->assign('email_address', $this->email_address);
     $params = $this->encodeParams(array('uid', 'directory', 'email_address'));
     $smarty->assign('params', $params);
+
+    return $attrs['dn'];
   }
 
   protected function generateAndStoreToken()
-- 
GitLab