Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

dev: fix smtp configuration (#3339)

Nikhil59fb371e3d60
diff --git a/apiserver/plane/app/views/config.py b/apiserver/plane/app/views/config.py
index aebf92a9e0..e95eb407b2 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)
)