mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
added null check for email property #ugly
This commit is contained in:
parent
9ae85abb74
commit
f5e802a7d1
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,11 @@ settings = require("settings-sharelatex")
|
|||
EmailBuilder = require "./EmailBuilder"
|
||||
EmailSender = require "./EmailSender"
|
||||
|
||||
if !settings.email?
|
||||
settings.email =
|
||||
lifecycleEnabled:false
|
||||
|
||||
|
||||
module.exports =
|
||||
|
||||
sendEmail : (emailType, opts, callback = (err)->)->
|
||||
|
|
Loading…
Reference in a new issue