luci-proto-openvpn: align askpass parameter with proto handler
authorPaul Donald <redacted>
Thu, 14 May 2026 10:33:42 +0000 (13:33 +0300)
committerPaul Donald <redacted>
Thu, 14 May 2026 10:34:01 +0000 (13:34 +0300)
the proto handlers look for `askpass` which is a file type param.

Closes #8630

Signed-off-by: David Perez <redacted>
Signed-off-by: Paul Donald <redacted>
protocols/luci-proto-openvpn/htdocs/luci-static/resources/protocol/openvpn.js

index 0bf1dde04b7ed9d06e03c346412b90a93df20c2f..bd39fa0e62ffcd52af9cbf4c22bd001bcfbbbfaa 100644 (file)
@@ -953,7 +953,7 @@ const openvpnOptions = [
                tab: 'cryptography',
                type: form.FileUpload,
                root_directory: '/etc',
-               name: 'askpass_file',
+               name: 'askpass',
                label: _('Get certificate password from file before we daemonize')
        },
        {
git clone https://git.99rst.org/PROJECT