Set secure connection as bool value (instead of string) (#119)
This commit is contained in:
parent
86f04d5847
commit
fc0c448b48
|
|
@ -292,7 +292,7 @@ EOF
|
|||
ghost_conf_set "mail.transport" "SMTP"
|
||||
ghost_conf_set "mail.options.host" "$GHOST_SMTP_HOST"
|
||||
ghost_conf_set "mail.options.port" "$GHOST_SMTP_PORT_NUMBER" "int"
|
||||
ghost_conf_set "mail.options.secureConnection" "$([[ "$GHOST_SMTP_PROTOCOL" = "ssl" || "$GHOST_SMTP_PROTOCOL" = "tls" ]] && echo "true" || echo "false")"
|
||||
ghost_conf_set "mail.options.secureConnection" "$([[ "$GHOST_SMTP_PROTOCOL" = "ssl" || "$GHOST_SMTP_PROTOCOL" = "tls" ]] && echo "true" || echo "false")" "bool"
|
||||
ghost_conf_set "mail.options.auth.user" "$GHOST_SMTP_USER"
|
||||
ghost_conf_set "mail.options.auth.pass" "$GHOST_SMTP_PASSWORD"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -292,7 +292,7 @@ EOF
|
|||
ghost_conf_set "mail.transport" "SMTP"
|
||||
ghost_conf_set "mail.options.host" "$GHOST_SMTP_HOST"
|
||||
ghost_conf_set "mail.options.port" "$GHOST_SMTP_PORT_NUMBER" "int"
|
||||
ghost_conf_set "mail.options.secureConnection" "$([[ "$GHOST_SMTP_PROTOCOL" = "ssl" || "$GHOST_SMTP_PROTOCOL" = "tls" ]] && echo "true" || echo "false")"
|
||||
ghost_conf_set "mail.options.secureConnection" "$([[ "$GHOST_SMTP_PROTOCOL" = "ssl" || "$GHOST_SMTP_PROTOCOL" = "tls" ]] && echo "true" || echo "false")" "bool"
|
||||
ghost_conf_set "mail.options.auth.user" "$GHOST_SMTP_USER"
|
||||
ghost_conf_set "mail.options.auth.pass" "$GHOST_SMTP_PASSWORD"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue