Preserve FilePond temp files across partage validation redirects

This commit is contained in:
Pontoporeia
2026-06-11 11:41:25 +02:00
parent b744271cf6
commit 11a6f6a9f2
3 changed files with 14 additions and 7 deletions

View File

@@ -536,6 +536,9 @@ function handleShareLinkSubmission(string $slug): void
unset($_SESSION[$shareCsrfKey]);
unset($_SESSION['share_verified_' . $slug]);
unset($_SESSION['share_active']);
unset($_SESSION['share_primed_files_' . $slug]);
// Clear FilePond temp file tracking — files have been moved to permanent storage
unset($_SESSION['filepond_tmp']);
// Send confirmation e-mail - on delivery failure, redirect to retry page
$emailError = null;