def validate_csrf_token(self, field):
        """Disable CRSF proection during testing."""
        if current_app.testing:
            return
        super(InvenioBaseForm, self).validate_csrf_token(field)