Preserve FilePond temp files across partage validation redirects

This commit is contained in:
Pontoporeia committed 2026-06-11 11:42:33 +02:00
1 parent b744271cf6
commit 11a6f6a9f2
3 files changed
+14 -7

No files matched your search

+3
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;