@@ -159,11 +159,11 @@ To update a user's password or other authentication details, use the `updateProv
|
|||||||
For example:
|
For example:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
const { success } = await authModuleService.update(
|
const { success } = await authModuleService.updateProvider(
|
||||||
"emailpass",
|
"emailpass",
|
||||||
// passed to the auth provider
|
// passed to the auth provider
|
||||||
{
|
{
|
||||||
email: "user@example.com",
|
entity_id: "user@example.com",
|
||||||
password: "supersecret",
|
password: "supersecret",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user