mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-16 03:17:27 +08:00
fix: bug fixes to password reset (INCOMPLETE)
This commit is contained in:
@@ -167,7 +167,7 @@ async function resetPassword(user: { email: string, turnstile: string }) {
|
||||
return await post('api/v2/user/reset-password', user)
|
||||
}
|
||||
|
||||
async function changePassword(user: { code: string, password: string }) {
|
||||
async function changePassword(user: { token: string, password: string }) {
|
||||
return await post('/api/v2/user/change-password', user)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user