Added salting and no similar username

This commit is contained in:
Joey Lai
2017-01-18 14:46:32 +01:00
parent afcd048260
commit 0808d46d9e
4 changed files with 22 additions and 14 deletions

View File

@@ -88,9 +88,9 @@
$usernameErr = "Gebruikersnaam moet minstens 6 karakters bevatten";
$correct = false;
} else if (getExistingUser() == 1 ){
} else if (getExistingUsername() == 1){
$usernameErr = "Gebruikersnaam bestaat al";
$correct = false;
$correct = false;
}
}
@@ -153,7 +153,7 @@
} else {
registerAccount();
// header("location: login.php");
header("location: login.php");
}
}