From acf40dc0d402c68f35c02982a119e4a64131ce04 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 15 Mar 2023 11:45:08 +0100 Subject: [PATCH] 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 --- .../luci-app-acme/htdocs/luci-static/resources/view/acme.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js b/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js index b13af7e346..2023c761db 100644 --- a/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js +++ b/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js @@ -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; -- 2.30.2