From bdc54e33ee3b24ece057bb01164d88ced4741cfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com>
Date: Wed, 2 Jun 2021 16:42:52 +0200
Subject: [PATCH] shared: News subscription double opt-in

---
 shared/utils.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/shared/utils.py b/shared/utils.py
index 7f854d99..7ecc0e5f 100644
--- a/shared/utils.py
+++ b/shared/utils.py
@@ -20,6 +20,7 @@ def subscribe_to_newsletter(email, news_id, source):
         "email": email,
         "news_id": news_id,
         "source": source,
+        "verify_email": 1,
     }
     response = requests.post(
         settings.NALODENI_API_NEWS_SUBSCRIBE_URL,
-- 
GitLab