aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/root.t
Commit message (Collapse)AuthorAgeLines
* cobrand hook to deny access to pagesStruan Donald2018-06-19-0/+15
| | | | | | | Add a check in the root controller `auto` to a cobrand hook that denies access if it returns true. This goes here so that cobrands and users are set up, which is not the case for `check_login_required`. Used to do things like deny site access unless the user is a superuser.
* Prevent race condition in root.t test.Matthew Somerville2017-09-06-1/+1
| | | | | | This test assumed /reports would load, which it wouldn't if run in parallel and the data hadn't been generated by reports.t. Test a different page instead.
* Add LOGIN_REQUIRED config keyDave Arter2017-08-31-0/+76
If set to 1, this restricts all pages on the site to logged-in users.