Users: Prevent duplicate usernames.

This commit is contained in:
Nate
2019-09-10 19:23:14 -06:00
parent 8e2644a39f
commit c7d5c2a7cf
3 changed files with 22 additions and 18 deletions

View File

@@ -263,7 +263,7 @@
//add the user to the database
$user_email = '';
if ($_SESSION["user"]["unique"]["text"] != "global") {
if ($_SESSION["users"]["unique"]["text"] != "global") {
if ($autogen_users == "true") {
$auto_user = $extension;
for ($i=1; $i<=$range; $i++) {