Hi!
I have a slim3 test setup here https://github.com/ArneAnka/slim-test And i can’t manage to unset input fields, if the form is validated and successfully submitted. It is an endless loop…
This is how the old input middleware looks like: https://github.com/ArneAnka/slim-test/blob/master/app/Middleware/OldInputMiddleware.php
Help is much appreciated on how to unset/remove $_SESSION[‘old’] if the form is validated and submitted without errors.