Fixed issue #1852: Can't configure local MTA after SMTP was configured as outbound server.
This commit is contained in:
parent
afb78f2200
commit
8bc0237a06
1 changed files with 2 additions and 2 deletions
|
@ -722,7 +722,7 @@ class App.ChannelEmailAccountWizard extends App.WizardModal
|
||||||
# get params
|
# get params
|
||||||
params = @formParam(e.target)
|
params = @formParam(e.target)
|
||||||
|
|
||||||
if params.options.password is @passwordPlaceholder
|
if params.options && params.options.password is @passwordPlaceholder
|
||||||
params.options.password = @inboundPassword
|
params.options.password = @inboundPassword
|
||||||
|
|
||||||
# let backend know about the channel
|
# let backend know about the channel
|
||||||
|
@ -784,7 +784,7 @@ class App.ChannelEmailAccountWizard extends App.WizardModal
|
||||||
params = @formParam(e.target)
|
params = @formParam(e.target)
|
||||||
params['email'] = @account['meta']['email']
|
params['email'] = @account['meta']['email']
|
||||||
|
|
||||||
if params.options.password is @passwordPlaceholder
|
if params.options && params.options.password is @passwordPlaceholder
|
||||||
params.options.password = @outboundPassword
|
params.options.password = @outboundPassword
|
||||||
|
|
||||||
if !params['email'] && @channel
|
if !params['email'] && @channel
|
||||||
|
|
Loading…
Reference in a new issue