__construct_uservalidation_controller()
__construct_uservalidation_controller( $opts = array())
Parameters
| $opts |
Ensure the current user is valid.
This requires the 'UserAuth' trait to be loaded first, and that a validate_user() method is defined.
If you don't require user validation, set a property called $validate_user to False.