diff --git a/ui/login-page.ts b/ui/login-page.ts index 9fcc51b..930da8d 100644 --- a/ui/login-page.ts +++ b/ui/login-page.ts @@ -81,7 +81,7 @@ export const component: ClosureComponent = (): Component => { location.reload(); }) .catch((err) => { - notifications.push("error", err.message); + notifications.push("error", err.response || err.message); e.target.disabled = false; }); return false;