hapus "alphanumeric(_post('username'), "+_.@-")" agar bisa digunakan untuk autologin menggunakan mac address hotspot

This commit is contained in:
ricki 2024-08-02 18:07:17 +07:00
parent de85d30a9e
commit 084ee83ec3

View File

@ -360,7 +360,7 @@ switch ($action) {
break; break;
case 'add-post': case 'add-post':
$username = alphanumeric(_post('username'), "+_.@-"); $username = _post('username');
$fullname = _post('fullname'); $fullname = _post('fullname');
$password = trim(_post('password')); $password = trim(_post('password'));
$pppoe_password = trim(_post('pppoe_password')); $pppoe_password = trim(_post('pppoe_password'));
@ -480,7 +480,7 @@ switch ($action) {
break; break;
case 'edit-post': case 'edit-post':
$username = alphanumeric(_post('username'), "+_.@-"); $username = _post('username');
$fullname = _post('fullname'); $fullname = _post('fullname');
$account_type = _post('account_type'); $account_type = _post('account_type');
$password = trim(_post('password')); $password = trim(_post('password'));