mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
Preserve FilePond temp files across partage validation redirects
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user