MCPcopy Create free account
hub / github.com/PIKACHUIM/CFWorkerACME / resetPassword

Function resetPassword

frontend/src/api/auth.ts:88–94  ·  view source on GitHub ↗
(
  email: string,
  newPassword: string,
  code: string,
)

Source from the content-addressed store, hash-verified

86 * 重置密码
87 */
88export async function resetPassword(
89 email: string,
90 newPassword: string,
91 code: string,
92): Promise<boolean> {
93 return registerUser(email, newPassword, code);
94}
95
96/**
97 * 修改密码(登录态下)

Callers 1

handleResetFunction · 0.90

Calls 1

registerUserFunction · 0.85

Tested by

no test coverage detected