Feat: Implement fine grained teamer profile data validation
This commit is contained in:
@@ -51,7 +51,7 @@ class ProfileController extends AbstractController
|
||||
}
|
||||
|
||||
// Validate teamer data to show missing data right away
|
||||
$errors = $this->validator->validate($teamer);
|
||||
$errors = $this->validator->validate($teamer, null, ['profile_preflight']);
|
||||
|
||||
$form = $this->createForm(TeamerProfileType::class, $teamer, ['upload_session' => $uploadSession]);
|
||||
$form->handleRequest($request);
|
||||
|
||||
Reference in New Issue
Block a user