dev: fix smtp configuration (#3339)
This commit is contained in:
parent
23e5306f6d
commit
59fb371e3d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue