feat: enable password update
All checks were successful
Deploy Miniplan / build (push) Successful in 2m21s
All checks were successful
Deploy Miniplan / build (push) Successful in 2m21s
This commit is contained in:
@@ -134,6 +134,11 @@ export namespace API {
|
||||
.then(res => res.json())
|
||||
}
|
||||
|
||||
export async function updatePassword(username: String, newPassword: string): Promise<any> {
|
||||
return api("/auth/update", "PUT", { username, newPassword })
|
||||
.then(res => res.json())
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user