luci-app-acme: replace deprecated use_staging with staging

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
pull/7135/head
Sergey Ponomarev 2024-05-26 07:38:42 +03:00 committed by Toke Høiland-Jørgensen
parent 0ae4efb264
commit 31ba396f5e
1 changed files with 2 additions and 2 deletions

View File

@ -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;