We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fc01d3a + 33cc6d3 commit 7e90fdaCopy full SHA for 7e90fda
src/Controllers/RegisterController.php
@@ -76,12 +76,8 @@ public function registerAction(): RedirectResponse
76
}
77
78
// Save the user
79
- $allowedPostFields = array_merge(
80
- setting('Auth.validFields'),
81
- setting('Auth.personalFields'),
82
- array_keys($rules),
83
- );
84
- $user = $this->getUserEntity();
+ $allowedPostFields = array_keys($rules);
+ $user = $this->getUserEntity();
85
$user->fill($this->request->getPost($allowedPostFields));
86
87
// Workaround for email only registration/login
0 commit comments