WIP booking out

This commit is contained in:
2025-03-11 18:19:51 +00:00
parent ce9de8d7ff
commit 8ce6b3d0fd
6 changed files with 226 additions and 35 deletions

View File

@@ -128,9 +128,9 @@ function validateSecureToken($token) {
list($email, $entryId, $timestamp, $hash) = explode('|', $decoded);
// Check expiration (e.g., valid for 1 hour)
if (time() - $timestamp > 3600) {
return false;
}
//if (time() - $timestamp > 3600) {
// return false;
//}
// Verify hash
$data = "$email|$entryId|$timestamp";