Replace user_passes_test with superuser_or_403
The user_passes_test decorator sends the browser in infinite redirect
loops when allauth is used.
1 parent c736333 commit a994c210e1367a7d2a7c9c7fa62ac3665e6eb678
@Aurélien Bompard Aurélien Bompard authored on 9 Aug 2016
Showing 6 changed files
View
src/postorius/tests/mailman_api_tests/test_domain_delete.py
View
src/postorius/tests/mailman_api_tests/test_domain_index.py
View
src/postorius/tests/mailman_api_tests/test_domain_new.py
View
src/postorius/tests/mailman_api_tests/test_list_new.py
View
src/postorius/views/domain.py
View
src/postorius/views/list.py