From fef72323ae627aa766b0871be7a51d7b30735e52 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 18 Jan 2025 00:56:28 +0100 Subject: Require mail to be verified to enable notifications. --- views/profile.pug | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'views/profile.pug') diff --git a/views/profile.pug b/views/profile.pug index 2437eb2..391fca0 100644 --- a/views/profile.pug +++ b/views/profile.pug @@ -14,12 +14,13 @@ html if ENABLE_MAIL if !user.is_verified - p ⚠ Verify your mail address - + p ⚠ Verify your mail address! + p You must verify your mail address before you can enable notifications. + else + if !user.notify + p Enable mail notifications if user.notify p Disable mail notifications - else - p Enable mail notifications p | Change password -- cgit v1.2.3