mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Implement gettext() calls on vpn_l2tp_users_edit.php
This commit is contained in:
parent
adf32c24cb
commit
bfc6bdb2d2
@ -75,10 +75,10 @@ if ($_POST) {
|
||||
/* input validation */
|
||||
if (isset($id) && ($a_secret[$id])) {
|
||||
$reqdfields = explode(" ", "usernamefld");
|
||||
$reqdfieldsn = explode(",", "Username");
|
||||
$reqdfieldsn = array(gettext("Username"));
|
||||
} else {
|
||||
$reqdfields = explode(" ", "usernamefld passwordfld");
|
||||
$reqdfieldsn = explode(",", "Username,Password");
|
||||
$reqdfieldsn = array(gettext("Username"),gettext("Password"));
|
||||
}
|
||||
|
||||
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user