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

Merge branch 'feat-password-hash-algos' of https://github.com/appwrite/appwrite into feat-missing-phone-param

This commit is contained in:
Eldad Fux 2022-08-14 20:22:52 +03:00
commit 98e2564330

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')