diff --git a/client/src/app/pages/ResetPasswordPage.tsx b/client/src/app/pages/ResetPasswordPage.tsx index b1480d49c..66043fca8 100644 --- a/client/src/app/pages/ResetPasswordPage.tsx +++ b/client/src/app/pages/ResetPasswordPage.tsx @@ -32,7 +32,7 @@ export default function ResetPasswordPage() { headers: { "Content-Type": "application/json", }, - body: JSON.stringify({ code, password }), + body: JSON.stringify({ code, "!password": password }), }, true, true diff --git a/client/src/app/routes/ImportRoutes.tsx b/client/src/app/routes/ImportRoutes.tsx index db695fcb9..36d515d3e 100644 --- a/client/src/app/routes/ImportRoutes.tsx +++ b/client/src/app/routes/ImportRoutes.tsx @@ -134,7 +134,7 @@ export default function ImportRoutes() { - - - + + + + + diff --git a/client/src/util/misc.ts b/client/src/util/misc.ts index 5e5f91253..fefb8d715 100644 --- a/client/src/util/misc.ts +++ b/client/src/util/misc.ts @@ -191,9 +191,9 @@ export function Sleep(ms: number) { } export function HistorySafeGoBack(history: ReturnType) { - if (history.length === 1) { - history.replace("/"); - } else { - history.goBack(); - } + // if (history.length === 1) { + history.replace("/"); + // } else { + // history.goBack(); + // } }