dev: fix smtp configuration (#3339)

This commit is contained in:
Nikhil 2024-01-10 18:16:28 +05:30 committed by GitHub
parent 57594aac4e
commit 23e53df3ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
)