Added confirmation login email

This commit is contained in:
Joey Lai
2017-01-25 12:48:30 +01:00
parent 93ddefa42f
commit aa48092d27
4 changed files with 15 additions and 1 deletions

View File

@@ -8,4 +8,11 @@ function checkLoggedIn() {
function bannedAlert(){
alert("Your account is banned");
}
function emailNotConfirmed(userID){
if (confirm("Your email is not confirmed.\nPress ok to send another confirmation.") == true) {
sendConfirmEmail(userID);
}
}