diff options
Diffstat (limited to 'Core')
| -rw-r--r-- | Core/Functions/func_register.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Functions/func_register.php b/Core/Functions/func_register.php index 1a94bc1..d0b7ba2 100644 --- a/Core/Functions/func_register.php +++ b/Core/Functions/func_register.php @@ -11,7 +11,7 @@ function register($email, $password, $userStatus) { $regNumb = "/[0-9]/"; $regUpper = "/[A-Z]/"; $regSpecial = "/[`!@#$%^&*()_+\-=\[\]{};':\"\\|,.<>\/?~µ°€£]/"; - $regEmail = "/^[a-z0-9_-]+@[a-z0-9-]+\.[a-z]/"; + $regEmail = "/^[a-z0-9._-]+@[a-z0-9-]+\.[a-z]/"; if ((strlen($password) >= 8) && preg_match($regNumb, $password) |
