more strict user validation & registration

This commit is contained in:
Tony Yang committed 2019-05-30 21:51:07 +08:00
1 parent d97af84b3f
commit a0a77d6748
4 files changed
+66 -41

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ require_once('notification.php');
$user = validate_user();
if (!$user->valid) {
http_response_code(403);
header("Location: ../index.php?err=account");
header("Location: index.php?err=account");
exit;
}