From 8eeef84b8a39e21f93327c39312ebf61a9ebd9bd Mon Sep 17 00:00:00 2001
From: Aditya Tawade <36890395+aditya-tawade@users.noreply.github.com>
Date: Thu, 15 Jan 2026 13:33:04 +0530
Subject: [PATCH] Enter Key for Quick Login (#513)
---
src/ui/desktop/authentication/Auth.tsx | 29 +++++++++++++++-----------
1 file changed, 17 insertions(+), 12 deletions(-)
diff --git a/src/ui/desktop/authentication/Auth.tsx b/src/ui/desktop/authentication/Auth.tsx
index cdd4c5ca..1511b309 100644
--- a/src/ui/desktop/authentication/Auth.tsx
+++ b/src/ui/desktop/authentication/Auth.tsx
@@ -376,8 +376,8 @@ export function Auth({
};
toast.error(
error?.response?.data?.error ||
- error?.message ||
- t("errors.failedPasswordReset"),
+ error?.message ||
+ t("errors.failedPasswordReset"),
);
} finally {
setResetLoading(false);
@@ -936,8 +936,8 @@ export function Auth({
}}
>
{theme === "dark" ||
- (theme === "system" &&
- window.matchMedia("(prefers-color-scheme: dark)").matches) ? (
+ (theme === "system" &&
+ window.matchMedia("(prefers-color-scheme: dark)").matches) ? (