get('enable_captcha') && Director::isLive() && $form->get_protector()) { $form->enableSpamProtection(); } $form->addExtraClass('legacy'); return $form; } }