luci-app-acme: remove handling of deprecated `state_dir` option
authorJo-Philipp Wich <jo@mein.io>
Wed, 15 Mar 2023 10:45:08 +0000 (11:45 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 15 Mar 2023 10:45:08 +0000 (11:45 +0100)
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>
applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js

index b13af7e3466cf91527e35e668b8dcfa8a032b322..2023c761db57063d8240037de772ddfb015121d0 100644 (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;