diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 76d65e75e1..1c5b3bb535 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -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')