allow @ in username

This commit is contained in:
Ibnu Maksum
2024-06-27 09:23:30 +07:00
parent 5f5ff4f760
commit 95c8bdcc53
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 = '';