Refactor
This commit is contained in:
parent
77c606d84b
commit
d6aa088575
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ if (isset($_POST['email'], $_POST['password'])) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_SESSION['user'])) {
|
if (isset($_SESSION['user'])) {
|
||||||
header('Location: ?page=home');
|
header('Location: /?page=home');
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue