This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 2e94b838cf9c59e58e9aec345d37c9a3056cd96c
Author: Daniel Gruno <[email protected]>
AuthorDate: Thu Nov 18 17:55:06 2021 +0100

    If not logged in, warn that you can't start a new thread, then exit.
---
 webui/js/source/composer.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/webui/js/source/composer.js b/webui/js/source/composer.js
index eda8de4..17de86f 100644
--- a/webui/js/source/composer.js
+++ b/webui/js/source/composer.js
@@ -55,6 +55,9 @@ function compose_email(replyto, list) {
             ]);
             composer("Reply to thread:", p);
             return;
+        } else {
+            modal("Please log in", "You need to be logged in before you can 
start a new thread.", "warning");
+            return
         }
     }
 

Reply via email to