diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2024-05-26 07:56:51 +0300 |
---|---|---|
committer | Toke Høiland-Jørgensen <toke@toke.dk> | 2024-05-26 09:58:42 +0200 |
commit | fcc4cc942adfb4a6019d04ca0e6b446a4cd6416f (patch) | |
tree | 95a560f1eed48283d0fdf9801def2b19c9a78248 /applications/luci-app-acme/htdocs | |
parent | 31ba396f5e81c4decbfdf6855a721effb15d6b83 (diff) |
luci-app-acme: Remove use_acme_server option since it's ignored by acme
In the 1ad72c6fb5d1c49147194de4f1bca1eb9d1f8f88 was added use_acme_server flag and acme_server URL.
The problem is that the acme uses the only acme_server option.
A user may think that once the flag is turned off it will be ignored, but it's not.
To avoid confusion, it's easier just to remove the flag.
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
Diffstat (limited to 'applications/luci-app-acme/htdocs')
-rw-r--r-- | applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js | 10 |
1 files changed, 2 insertions, 8 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 0f5775a2b2..5bdc0c9980 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 @@ -505,15 +505,9 @@ return view.extend({ uci.set('acme', section_id, 'key_type', value); }; - o = s.taboption('advanced', form.Flag, "use_acme_server", - _("Custom ACME CA"), _("Use a custom CA instead of Let's Encrypt.")); - o.depends("staging", "0"); - o.default = false; - o.modalonly = true; - o = s.taboption('advanced', form.Value, "acme_server", _("ACME server URL"), - _("Custom ACME server directory URL.")); - o.depends("use_acme_server", "1"); + _('Use a custom CA instead of Let\'s Encrypt.') + ' ' + _('Custom ACME server directory URL.')); + o.depends("staging", "0"); o.placeholder = "https://api.buypass.com/acme/directory"; o.optional = true; o.modalonly = true; |