chore: remove unused inject

This commit is contained in:
Levi van Noort committed 2025-12-11 14:51:01 +01:00
1 parent 5cea741282
commit e828e9e82f
1 file changed
-1
-1
View File
@@ -358,7 +358,6 @@ App::post('/v1/account')
->param('email', '', new EmailValidator(), 'User email.')
->param('password', '', fn ($project, $passwordsDictionary) => new PasswordDictionary($passwordsDictionary, $project->getAttribute('auths', [])['passwordDictionary'] ?? false), 'New user password. Must be between 8 and 256 chars.', false, ['project', 'passwordsDictionary'])
->param('name', '', new Text(128), 'User name. Max length: 128 chars.', true)
->inject('request')
->inject('response')
->inject('user')
->inject('project')