Live changes
This commit is contained in:
1 parent
f39f8b88ce
commit
2c64cd1d27
7 files changed
+63
-22
No files matched your search
+1
-1
@@ -61,7 +61,7 @@ class User {
|
||||
$this->id = -1;
|
||||
return false;
|
||||
}
|
||||
if(preg_match('/^[a-z]*$/', strtolower(stripcslashes($data['username'])))) {
|
||||
if(! preg_match('/^[a-z]*$/', strtolower(stripcslashes($data['username'])))) {
|
||||
notify("Brukernavnet kan kun inneholde små bokstaver.");
|
||||
$this->id = -1;
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user