Feat: Implement fine grained teamer profile data validation
This commit is contained in:
1 parent
9a95daa3db
commit
7f7a35e7a2
13 files changed
+156
-20
No files matched your search
@@ -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