Skip to content

Commit

Permalink
luci-app-acme: replace deprecated use_staging with staging
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Ponomarev <[email protected]>
  • Loading branch information
stokito authored and tohojo committed May 26, 2024
1 parent 0ae4efb commit 31ba396
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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).'
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 31ba396

Please sign in to comment.