mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 14:54:33 +00:00
set password
This commit is contained in:
@@ -500,6 +500,18 @@ export async function passwordReset(userId: string) {
|
||||
);
|
||||
}
|
||||
|
||||
export async function setPassword(userId: string, password: string) {
|
||||
return userService.setPassword(
|
||||
{
|
||||
userId,
|
||||
newPassword: {
|
||||
password,
|
||||
},
|
||||
},
|
||||
{},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param server
|
||||
|
||||
Reference in New Issue
Block a user