Merge branch 'joey-testing' into 'master'

Added confirmation login email

See merge request !118
This commit was merged in pull request #122.
This commit is contained in:
Marijn Jansen
2017-01-25 12:49:45 +01:00
4 changed files with 15 additions and 1 deletions

View File

@@ -34,6 +34,10 @@ function validateLogin($username, $password){
echo "<script>
window.onload=bannedAlert();
</script>";
} else if ($role == "unconfirmed"){
echo "<script>
window.onload=emailNotConfirmed('userID');
</script>";
} else {
$_SESSION["userID"] = $userID;
header("location: profile.php");