mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-05-04 05:09:21 +02:00
resolves #237
This commit is contained in:
parent
db47690e7f
commit
b3413ccee9
@ -37,9 +37,6 @@ if (empty($_POST) === false) {
|
||||
if ($isNoob) {
|
||||
$errors[] = 'This account name is blocked for registration.';
|
||||
}
|
||||
if (strtolower($_POST['username']) === true) {
|
||||
$errors[] = 'Sorry, that username already exist.';
|
||||
}
|
||||
if (preg_match("/^[a-zA-Z0-9]+$/", $_POST['username']) == false) {
|
||||
$errors[] = 'Your account name can only contain characters a-z, A-Z and 0-9.';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user