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

#10251
This commit is contained in:
Simone Renesto
2024-11-26 09:54:18 +00:00
committed by GitHub
parent d5ee0070b4
commit edc53495fd
@@ -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",
} }
) )