ErrorsController::unauthorized PHP Method

unauthorized() public method

public unauthorized ( )
    function unauthorized()
    {
        //TODO: make this code more cake compliant - this should go inside the layout
        header('HTTP/1.1 401 Unauthorized');
    }
ErrorsController