cozy-client / models / user
Namespace: user¶
models.user
Functions¶
hasPassword¶
▸ hasPassword(client
): Promise
<boolean
>
Checks whether the user has a password
Parameters
Name | Type | Description |
---|---|---|
client |
CozyClient |
The CozyClient instance |
Returns
Promise
<boolean
>
- Returns true if the user has a password
Defined in