Merge branch 'joey-testing' into 'master'

Joey testing

See merge request !119
This commit was merged in pull request #123.
This commit is contained in:
Marijn Jansen
2017-01-25 13:44:11 +01:00
2 changed files with 6 additions and 7 deletions

View File

@@ -35,8 +35,9 @@ function validateLogin($username, $password){
window.onload=bannedAlert();
</script>";
} else if ($role == "unconfirmed"){
sendConfirmEmail(getUser()["userID"]);
echo "<script>
window.onload=emailNotConfirmed('userID');
window.onload=emailNotConfirmed();
</script>";
} else {
$_SESSION["userID"] = $userID;
@@ -56,4 +57,5 @@ class loginException extends Exception
parent::__construct($message, $code, $previous);
}
}
?>
?>