remove warning when SMTP is not configured as notifcation backend
This commit is contained in:
parent
e4ad81cde0
commit
da782654b2
@ -167,11 +167,6 @@ class Config:
|
|||||||
logger.info("Your `session-key` has been stored in the "
|
logger.info("Your `session-key` has been stored in the "
|
||||||
"database itself, this option is now unused")
|
"database itself, this option is now unused")
|
||||||
|
|
||||||
if rv.get("smtp", "username") and not rv.get("general", "notify"):
|
|
||||||
logger.warn(("SMTP is no longer enabled by default, add "
|
|
||||||
"`notify = smtp` to the general section to "
|
|
||||||
"enable SMTP nofications."))
|
|
||||||
|
|
||||||
return rv
|
return rv
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user