history back -> profile.php
This commit is contained in:
@@ -2,7 +2,7 @@ function checkLoggedIn() {
|
||||
if (confirm("You are already logged in!\nDo you want to logout?\nPress ok to logout.") == true) {
|
||||
window.location.href = "logout.php";
|
||||
} else {
|
||||
window.history.back();
|
||||
window.location.href = "profile.php";
|
||||
}
|
||||
document.getElementById("demo").innerHTML = x;
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
} else {
|
||||
$bday = test_input($_POST["bday"]);
|
||||
}
|
||||
g
|
||||
|
||||
checkInputChoice("username", "username");
|
||||
checkInputChoice("password", "longerEight");
|
||||
checkInputChoice("confirmpassword", "");
|
||||
|
||||
Reference in New Issue
Block a user