luci-app-acme: remove handling of deprecated state_dir option

Recent versions of "acme" report the following message on startup:

    daemon.warn acme: Option "state_dir" is deprecated, please remove it.
                      Certificates now exist in /etc/ssl/acme

Solve this issue by removing the support for this deprecated option.

Fixes: #6273
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2023-03-15 11:45:08 +01:00
parent 0f6e1663ca
commit acf40dc0d4

View file

@ -26,11 +26,6 @@ return view.extend({
s = m.section(form.TypedSection, "acme", _("ACME global config"));
s.anonymous = true;
o = s.option(form.Value, "state_dir", _("State directory"),
_("Where certs and other state files are kept."));
o.rmempty = false;
o.datatype = "directory";
o = s.option(form.Value, "account_email", _("Account email"),
_("Email address to associate with account key."))
o.rmempty = false;