ErrorsController::unauthorized PHP Méthode

unauthorized() public méthode

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