Rodrigo Cortés Cano
719935d17a
Improve error message for expired CSRF token errors
...
This backports the invalid-token/session-expired UX improvement to the 4.0 branch.
When a session expires and an old CSRF token is submitted, PostfixAdmin
currently shows a raw invalid token error.
This change renders a translated session-expired page instead, returning HTTP 419.
thanks @TrapoSAMA
2026-07-03 18:38:14 +01:00
David Goodwin
460c624275
remove more references to sourceforge
2025-07-13 18:29:37 +01:00
David Goodwin
759304ecb8
apparently these all need reformatting
2024-12-05 14:33:41 +00:00
David Goodwin
6cc7922284
see #642 - possible fix for pagination being lost
2022-07-25 09:44:12 +01:00
Unknown
029d749fb8
Redirect to listview after editing
2021-07-05 15:39:51 -03:00
David Goodwin
750838d7f7
psalm fixes; make safepost()/safeget() return strings
2020-11-09 21:40:52 +00:00
David Goodwin
8bfe9fe668
Rejig PFASmarty, so it becomes a singleton accessible to the various 'controllers'.
...
(PFASmarty::getInstance() ... stops a global variable at least).
2020-09-27 10:49:58 +01:00
David Goodwin
d7fa33a3ed
s/store/save/g
2020-09-25 21:43:34 +01:00
David Goodwin
8754af58cb
fix undefined variables (psalm)
2020-03-12 20:45:51 +00:00
David Goodwin
bcae218cbb
composer format time
2019-10-19 21:36:27 +01:00
David Goodwin
b8d7c0513f
psalm fix
2019-10-17 20:03:47 +01:00
David Goodwin
95429a6963
reindent, remove comment
2019-06-08 20:05:59 +01:00
Christian Boltz
d2588a4de2
Fix phpcs whitespace breakage in initStruct etc.
2018-04-22 18:24:41 +02:00
Adrien Crivelli
15df6c1d7b
Reformat everything with PHP-Cs-Fixer
2018-01-26 23:54:37 +09:00
David Goodwin
99147d51eb
move public facing stuff into public/, this allows us to stop exposing templates_c/ etc to the world
2018-01-25 20:27:09 +00:00