mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
Added hash to response model
This commit is contained in:
parent
2add8f3601
commit
a32f341f31
7 changed files with 12 additions and 6 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -23,6 +23,12 @@ class User extends Model
|
|||
'default' => '',
|
||||
'example' => 'John Doe',
|
||||
])
|
||||
->addRule('hash', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Password hashing algorithm.',
|
||||
'default' => '',
|
||||
'example' => 'bcrypt',
|
||||
])
|
||||
->addRule('registration', [
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'description' => 'User registration date in Unix timestamp.',
|
||||
|
|
|
|||
Loading…
Reference in a new issue