summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-acme/htdocs/luci-static
diff options
context:
space:
mode:
authorSergey Ponomarev <stokito@gmail.com>2024-05-26 07:38:42 +0300
committerToke Høiland-Jørgensen <toke@toke.dk>2024-05-26 09:58:42 +0200
commit31ba396f5e81c4decbfdf6855a721effb15d6b83 (patch)
tree3858824a9568a7fbd2ae019a2502d8a745894bef /applications/luci-app-acme/htdocs/luci-static
parent0ae4efb2640fb2db351dbfe7a5a246e3dc29c6e0 (diff)
luci-app-acme: replace deprecated use_staging with staging
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
Diffstat (limited to 'applications/luci-app-acme/htdocs/luci-static')
-rw-r--r--applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js4
1 files changed, 2 insertions, 2 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 62002371ed..0f5775a2b2 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
@@ -464,7 +464,7 @@ return view.extend({
o.modalonly = true;
- o = s.taboption('advanced', form.Flag, 'use_staging', _('Use staging server'),
+ o = s.taboption('advanced', form.Flag, 'staging', _('Use staging server'),
_(
'Get certificate from the Letsencrypt staging server ' +
'(use for testing; the certificate won\'t be valid).'
@@ -507,7 +507,7 @@ return view.extend({
o = s.taboption('advanced', form.Flag, "use_acme_server",
_("Custom ACME CA"), _("Use a custom CA instead of Let's Encrypt."));
- o.depends("use_staging", "0");
+ o.depends("staging", "0");
o.default = false;
o.modalonly = true;