1
0
Fork 0
mirror of synced 2024-09-30 17:26:48 +13:00

Update app/controllers/api/users.php

This commit is contained in:
Eldad A. Fux 2022-08-14 20:01:32 +03:00 committed by GitHub
parent 7d83f9d644
commit 340cfb0104
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ App::post('/v1/users')
->label('sdk.response.model', Response::MODEL_USER)
->param('userId', '', new CustomId(), 'User ID. Choose your own unique ID or pass the string "unique()" to auto generate it. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can\'t start with a special char. Max length is 36 chars.')
->param('email', '', new Email(), 'User email.')
->param('password', '', new Password(), 'Plaintext user password. Must be at least 8 chars.')
->param('password', '', new Password(), 'Plain text user password. Must be at least 8 chars.')
->param('name', '', new Text(128), 'User name. Max length: 128 chars.', true)
->inject('response')
->inject('dbForProject')