allow - on username

This commit is contained in:
Ibnu Maksum
2024-07-06 10:32:51 +07:00
parent 10eb6d1735
commit 92386ff65e
3 changed files with 5 additions and 5 deletions

View File

@ -64,7 +64,7 @@ switch ($do) {
$user = ORM::for_table('tbl_customers')->where('username', $username)->find_one();
if (!$user) {
$d = ORM::for_table('tbl_customers')->create();
$d->username = alphanumeric($username, "+_.@");
$d->username = alphanumeric($username, "+_.@-");
$d->password = $voucher;
$d->fullname = '';
$d->address = '';