mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
dev: fix smtp configuration (#3339)
This commit is contained in:
parent
57594aac4e
commit
23e53df3ad
@ -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)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user