From af1ad2494c2bcd40e55f25562372b603e528eb77 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Fri, 26 Oct 2018 15:39:00 +0200
Subject: [PATCH] fix challenge URL in notification

---
 lib/AccountManager/App.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/AccountManager/App.pm b/lib/AccountManager/App.pm
index 5600bc5..3e5c852 100644
--- a/lib/AccountManager/App.pm
+++ b/lib/AccountManager/App.pm
@@ -474,7 +474,7 @@ sub req_complete_challenge {
         entityid  => $entityid,
         token     => $token->secret(),
         challenge_url => sprintf(
-            '%s&action=complete_challenge&federation=%s&entity=%s&email=%s',
+            '%s?action=complete_challenge&federation=%s&entityid=%s&email=%s',
             $self->{configuration}->{app}->{url},
             $federation,
             $entityid,
-- 
GitLab