From 59fb371e3d60172bf0d04337e390253175ce7c14 Mon Sep 17 00:00:00 2001 From: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Date: Wed, 10 Jan 2024 18:16:28 +0530 Subject: [PATCH] dev: fix smtp configuration (#3339) --- apiserver/plane/app/views/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/plane/app/views/config.py b/apiserver/plane/app/views/config.py index aebf92a9e..e95eb407b 100644 --- a/apiserver/plane/app/views/config.py +++ b/apiserver/plane/app/views/config.py @@ -118,7 +118,7 @@ class ConfigurationEndpoint(BaseAPIView): data["file_size_limit"] = float(os.environ.get("FILE_SIZE_LIMIT", 5242880)) # is smtp configured - data["is_smtp_configured"] = not ( + data["is_smtp_configured"] = ( bool(EMAIL_HOST_USER) and bool(EMAIL_HOST_PASSWORD) )