forked from github/plane
dev: fix smtp configuration (#3339)
This commit is contained in:
parent
23e5306f6d
commit
59fb371e3d
@ -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