Sudo mode
Refactored into a middleware + fixed tests
Make sudo box slightly better
Also grant sudo on registration
And on password recovery
Require sudo on all views that have has_access(MEMBER_OWNER)
Require sudo on all pages that change settings
Dont require password validation on forms
Merge branch 'master' into sudo
Render error message
Refactor sudo into not requiring response object and all login() elevates perms
Update sudo_required behavior
Set cookie max age to 3 hours
Merge branch 'sudo'