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
f01274ec94
try relaxing composer dependencies to allow php8.2 dev support, reformat so composer format passes
2024-04-22 21:02:01 +01:00
David Goodwin
0565cde6f3
ensure POST[domains] is not empty
2021-03-02 21:25:49 +00:00
Gianluca Giacometti
79284ddff8
Call to the template fixed
...
The name ogìf the template is missing the prefix "broadcast-"
2021-01-29 22:24:51 +01:00
David Goodwin
f6f62180e8
remove some global variables
2020-09-27 11:02:58 +01:00
Felix Ableitner
600248e955
Add option to use smtp password when sending admin emails ( fixes #272 )
2019-07-02 13:41:58 +02:00
David Goodwin
803e2342f8
fix psalm issues; reformat; rename new db functions
2019-01-06 21:32:58 +00:00
David Goodwin
ea33d9951a
try migrating to pdo
2019-01-06 21:32:58 +00:00
David Goodwin
4fcdba9cf4
run php-cs-fixer (code reforamt)
2018-12-28 19:31:43 +00:00
David Goodwin
74002bbf57
psalm fixes
2018-12-27 21:43:11 +00:00
David Goodwin
c147eb053b
move to use db_assoc() rather than db_array() (code assumes assoc. array)
2018-02-10 21:08:29 +00:00
David Goodwin
2615b6fece
see #132 - better broadcast mail format, perhaps
2018-02-08 16:11:57 +00: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