Decorate mailqueue views with @login_required
authorMagnus Hagander <[email protected]>
Tue, 8 Oct 2024 12:05:59 +0000 (14:05 +0200)
committerMagnus Hagander <[email protected]>
Tue, 8 Oct 2024 12:05:59 +0000 (14:05 +0200)
commit497cb4f76567e8d63ff5220f11cbc3f713f2bc88
tree4b095e9bcc1b9e8ad78346492c0ae0a86982bd97
parent5ab7ee325c2e3b408402e7ceb3d56ffbfec04080
Decorate mailqueue views with @login_required

We did explicitly check for superuser permissions, so there was no way
to get in, but without the decorator we wouldn't get the redirect to the
login page.
postgresqleu/mailqueue/backendviews.py