Replace user_passes_test with superuser_or_403
The user_passes_test decorator sends the browser in infinite redirect loops when allauth is used. |
---|
|
src/postorius/tests/mailman_api_tests/test_domain_delete.py |
---|
src/postorius/tests/mailman_api_tests/test_domain_index.py |
---|
src/postorius/tests/mailman_api_tests/test_domain_new.py |
---|
src/postorius/tests/mailman_api_tests/test_list_new.py |
---|
src/postorius/views/domain.py |
---|
src/postorius/views/list.py |
---|