WIP booking out
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user