hassio-addons / addon-bookstack

Bookstack - Home Assistant Community Add-ons
https://addons.community
MIT License
55 stars 13 forks source link

Failed to save add-on configuration, not a valid value > MAIL_VERIFY_SSL #326

Open Ulrich72 opened 1 month ago

Ulrich72 commented 1 month ago

Problem/Motivation

I need to add the MAIL_VERIFY_SLL option:

Source: https://www.bookstackapp.com/docs/admin/email-webhooks/

# Verify SSL/TLS certificates during SMTP sending
# WARNING: Disabling verification using a 'false' value 
# can make you vulnerable to MITM attacks
MAIL_VERIFY_SSL=false

So I added this to the env section within the configuration:

- name: MAIL_VERIFY_SSL
  value: false

Result is: “Failed to save add-on configuration, not a valid value.”

Expected behavior

Add-on should accept this env setting.

Actual behavior

Can't save and can't use this option.

Steps to reproduce

See above.

Proposed changes

Add the MAIL_VERIFY_SSL as a valid value.

Ulrich72 commented 1 month ago

Never mind ... the false needed a "" too ... so this is working:

- name: MAIL_VERIFY_SSL
  value: "false"