Added routes
This commit is contained in:
@@ -23,14 +23,16 @@ if(isset($_POST['aLogin'])){
|
||||
}else{
|
||||
session_destroy();
|
||||
header('location: ../../../Frontend/index.html?login=failed?reason=password');
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else{
|
||||
}else{
|
||||
session_destroy();
|
||||
header('location: ../../../Frontend/index.html?login=failed?reason=username');
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
}else{
|
||||
header("location: ../../../Frontend/index.html?error=NoLogin");
|
||||
exit();
|
||||
}
|
||||
Reference in New Issue
Block a user