docs: fix updateProvider edit user's password example (#10253)

#10251
This commit is contained in:
Simone Renesto
2024-11-26 10:54:18 +01:00
committed by GitHub
parent d5ee0070b4
commit edc53495fd

View File

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