diff options
author | Ermal <eri@pfsense.org> | 2012-02-06 16:12:18 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-02-06 16:12:18 +0000 |
commit | 8b320242759a783ebecd28dcbd57c1262844cbc4 (patch) | |
tree | 969a8e14e5e65abaaca77e091b12b081e39cf7d7 /usr/local/www/services_captiveportal_vouchers.php | |
parent | b9f637a7b9025db2e6b864a293915571bbc98601 (diff) | |
download | pfsense-8b320242759a783ebecd28dcbd57c1262844cbc4.zip pfsense-8b320242759a783ebecd28dcbd57c1262844cbc4.tar.gz |
Unset previously set voucher sync information
Diffstat (limited to 'usr/local/www/services_captiveportal_vouchers.php')
-rw-r--r-- | usr/local/www/services_captiveportal_vouchers.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/services_captiveportal_vouchers.php b/usr/local/www/services_captiveportal_vouchers.php index 1237332..ba2a4d1 100644 --- a/usr/local/www/services_captiveportal_vouchers.php +++ b/usr/local/www/services_captiveportal_vouchers.php @@ -226,6 +226,10 @@ if ($_POST) { else unset($newvoucher['enable']); if (empty($_POST['vouchersyncusername'])) { + unset($newvoucher['vouchersyncdbip']); + unset($newvoucher['vouchersyncport']); + unset($newvoucher['vouchersyncusername']); + unset($newvoucher['vouchersyncpass']); $newvoucher['charset'] = $_POST['charset']; $newvoucher['rollbits'] = $_POST['rollbits']; $newvoucher['ticketbits'] = $_POST['ticketbits']; |