From bdd9ab6a29171fc5c75d09d041239b0614f57b3f Mon Sep 17 00:00:00 2001
From: rubenwardy
Date: Fri, 16 Aug 2024 22:12:25 +0100
Subject: [PATCH] Add protonmail unsupported message
---
app/templates/users/change_set_password.html | 3 +++
app/templates/users/register.html | 3 +++
app/templates/users/settings_email.html | 3 +++
3 files changed, 9 insertions(+)
diff --git a/app/templates/users/change_set_password.html b/app/templates/users/change_set_password.html
index 26c647a0..1766e325 100644
--- a/app/templates/users/change_set_password.html
+++ b/app/templates/users/change_set_password.html
@@ -15,6 +15,9 @@
{{ render_field(form.email, tabindex=220,
hint=_("Your email is needed to recover your account if you forget your password and to send (configurable) notifications. ") +
_("Your email will never be shared with a third-party.")) }}
+
+ {{ _("Note: protonmail is unsupported by ContentDB. More info.") }}
+
{% endif %}
{% if form.old_password %}
diff --git a/app/templates/users/register.html b/app/templates/users/register.html
index b7b1553e..a87d8d35 100644
--- a/app/templates/users/register.html
+++ b/app/templates/users/register.html
@@ -23,6 +23,9 @@
{{ render_field(form.email,
hint=_("Your email is needed to recover your account if you forget your password and to send (configurable) notifications. ") +
_("Your email will never be shared with a third-party.")) }}
+
+ {{ _("Note: protonmail is unsupported by ContentDB. More info.") }}
+
{{ render_field(form.password, hint=_("Must be at least 12 characters long.")) }}
diff --git a/app/templates/users/settings_email.html b/app/templates/users/settings_email.html
index 69c708bc..9f3ac59a 100644
--- a/app/templates/users/settings_email.html
+++ b/app/templates/users/settings_email.html
@@ -23,6 +23,9 @@
{{ _("Your email is needed to recover your account if you forget your password, and to send (configurable) notifications.") }}
{{ _("Your email will never be shared with a third-party.") }}
+
+ {{ _("Note: protonmail is unsupported by ContentDB. More info.") }}
+
{% if user.email_verifications.filter_by(is_password_reset=False).count() > 0 %}