Mitgliedsanträge mit Unterschrift und Admin-Ansicht

This commit is contained in:
torsten 2026-11-08 18:57:37 +01:00
parent 675d7bbcba
commit 9355bd3ada
11 changed files with 554 additions and 36 deletions

View file

@ -483,7 +483,15 @@ function validate(array $rules): array
]);
$_SESSION['_errors'] = $errors;
$_SESSION['_old'] = $_POST;
$old = $_POST;
// Keine Passwörter, Tokens oder Signaturdaten in der Session ablegen.
foreach (['password', 'password_confirmation', '_token', 'unterschrift_1', 'unterschrift_2'] as $sensitive) {
unset($old[$sensitive]);
}
$_SESSION['_old'] = $old;
back();
}