From 31d54946e7f2b60a0e4e5921839f1cfde69cd74d Mon Sep 17 00:00:00 2001
From: Hugo NOUTS <hnouts@grandlyon.com>
Date: Fri, 26 Feb 2021 15:24:16 +0100
Subject: [PATCH] Update main.go

---
 main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.go b/main.go
index 4e6ea94..45a0cf5 100644
--- a/main.go
+++ b/main.go
@@ -233,7 +233,7 @@ func main() {
 				authURL := "https://mon-compte-particulier.enedis.fr/dataconnect/v1/oauth2/authorize"
 				redirectUrl := authURL + "?client_id=" + clientId + "&duration=P6M&response_type=" + responseType + "&state=" + state + "-" + instanceName
 
-				log.Info("WL - EnedisSuccess - Authorize - Redirecting user to Enedis: ", redirectUrl)
+				log.Info("WL - EnedisSuccess - Authorize - Redirecting user to Enedis")
 				http.Redirect(w, r, redirectUrl, 302)
 			} else {
 				logRoute("Proxy_error_enedis_auth")
-- 
GitLab