Files
WebDB/website/public/js/registerAndLogin.js
2017-01-27 14:03:11 +01:00

16 lines
441 B
JavaScript

function checkLoggedIn() {
if (confirm("U bent al ingelogd!!\nWilt u uitloggen?\nKlik ok om uit te loggen.") == true) {
window.location.href = "logout.php";
} else {
window.location.href = "profile.php";
}
}
function bannedAlert(){
alert("Uw account is geband!");
}
function emailNotConfirmed(){
alert("Uw account is nog niet bevestigd!\nEr is een nieuwe email gestuurd om uw account te bevestigen");
}