Redirect to /list/user/ after login

This commit is contained in:
dpeca 2018-04-10 03:58:19 +02:00 committed by GitHub
commit 1a61ea102b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ if (isset($_SESSION['user'])) {
$_SESSION['look_alert'] = 'yes';
}
}
header("Location: /");
header("Location: /list/user/");
exit;
}
@ -109,7 +109,7 @@ if (isset($_POST['user']) && isset($_POST['password'])) {
unset($_SESSION['request_uri']);
exit;
} else {
header("Location: /");
header("Location: /list/user/");
exit;
}
}