MCPcopy Create free account
hub / github.com/msgbyte/tailchat / modifyUserPassword

Function modifyUserPassword

client/shared/model/user.ts:188–196  ·  view source on GitHub ↗
(
  oldPassword: string,
  newPassword: string
)

Source from the content-addressed store, hash-verified

186 * 修改密码
187 */
188export async function modifyUserPassword(
189 oldPassword: string,
190 newPassword: string
191): Promise<void> {
192 await request.post('/api/user/modifyPassword', {
193 oldPassword,
194 newPassword,
195 });
196}
197
198/**
199 * 忘记密码

Callers 1

ModifyPassword.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected