File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
security/acme-client/src/opnsense/mvc/app
controllers/OPNsense/AcmeClient/forms
library/OPNsense/AcmeClient/LeValidation
models/OPNsense/AcmeClient Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 12301230 <type >text</type >
12311231 </field >
12321232 <field >
1233- <label >selectel </label >
1233+ <label >Selectel </label >
12341234 <type >header</type >
12351235 <style >table_dns table_dns_selectel</style >
12361236 </field >
12421242 <field >
12431243 <id >validation.dns_sl_apiver</id >
12441244 <label >API Version</label >
1245- <type >text</type >
1246- <help >Available Values: V2</help >
1245+ <type >dropdown</type >
12471246 </field >
12481247 <field >
12491248 <id >validation.dns_sl_token_lifetime</id >
12551254 <id >validation.dns_sl_account_id</id >
12561255 <label >Account ID</label >
12571256 <type >text</type >
1258- <help >Account number, can be seen in the upper right corner on the provider's website </help >
1257+ <help >The account number can be found on the Selectel control panel </help >
12591258 </field >
12601259 <field >
12611260 <id >validation.dns_sl_project_name</id >
12661265 <id >validation.dns_sl_login_name</id >
12671266 <label >Service username</label >
12681267 <type >text</type >
1269- <help >Service username, can be seen in the control panel</help >
1268+ <help >The service username can be found in the Selectel control panel</help >
12701269 </field >
12711270 <field >
12721271 <id >validation.dns_sl_password</id >
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function prepare()
4242 {
4343 $ this ->acme_env ['SL_Key ' ] = (string )$ this ->config ->dns_sl_key ;
4444 $ this ->acme_env ['SL_Ver ' ] = (string )$ this ->config ->dns_sl_apiver ;
45- $ this ->acme_env ['SL_Expire ' ] = (string )$ this ->config ->dns_slv2_token_lifetime ;
45+ $ this ->acme_env ['SL_Expire ' ] = (string )$ this ->config ->dns_sl_token_lifetime ;
4646 $ this ->acme_env ['SL_Login_ID ' ] = (string )$ this ->config ->dns_sl_account_id ;
4747 $ this ->acme_env ['SL_Project_Name ' ] = (string )$ this ->config ->dns_sl_project_name ;
4848 $ this ->acme_env ['SL_Login_Name ' ] = (string )$ this ->config ->dns_sl_login_name ;
Original file line number Diff line number Diff line change 10561056 <dns_sl_key type =" TextField" >
10571057 <Required >N</Required >
10581058 </dns_sl_key >
1059- <dns_sl_apiver type =" TextField " >
1059+ <dns_sl_apiver type =" OptionField " >
10601060 <Required >N</Required >
1061+ <OptionValues >
1062+ <v1 >API version 1 (deprecated)</v1 >
1063+ <v2 >API version 2</v2 >
1064+ </OptionValues >
10611065 </dns_sl_apiver >
10621066 <dns_sl_token_lifetime type =" TextField" >
10631067 <Required >N</Required >
You can’t perform that action at this time.
0 commit comments