fix cross-client consistency

This commit is contained in:
2026-04-18 15:45:00 -06:00
parent e2ad89c10d
commit 1b5bd6825a
11 changed files with 32 additions and 14 deletions

View File

@@ -41,4 +41,11 @@ public class AuthApi {
body.put("usernameOrEmail", usernameOrEmail);
apiClient.post("/api/v1/auth/forgot-password", body, Object.class);
}
public void resetPassword(String token, String newPassword) throws Exception {
Map<String, String> body = new HashMap<>();
body.put("token", token);
body.put("newPassword", newPassword);
apiClient.post("/api/v1/auth/reset-password", body, Object.class);
}
}