From 23f6fbe9fc24abcedea8e586a6e19fac57ff2bac Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Tue, 5 Aug 2025 23:45:42 +0400 Subject: [PATCH] fix: minor (and i mean minor) changes --- frontend/src/components/utilities/attemptCliLogin.ts | 2 +- frontend/src/components/utilities/attemptLogin.ts | 2 +- .../components/ChangePasswordSection/ChangePasswordSection.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/utilities/attemptCliLogin.ts b/frontend/src/components/utilities/attemptCliLogin.ts index ddc68e200..f8339aecf 100644 --- a/frontend/src/components/utilities/attemptCliLogin.ts +++ b/frontend/src/components/utilities/attemptCliLogin.ts @@ -54,7 +54,7 @@ const attemptLogin = async ({ if (err.response?.data?.error === "LegacyEncryptionScheme") { createNotification({ text: "Failed to login without SRP, attempting to authenticate with legacy SRP authentication.", - type: "error" + type: "info" }); return null; diff --git a/frontend/src/components/utilities/attemptLogin.ts b/frontend/src/components/utilities/attemptLogin.ts index a81264417..bdaf79042 100644 --- a/frontend/src/components/utilities/attemptLogin.ts +++ b/frontend/src/components/utilities/attemptLogin.ts @@ -50,7 +50,7 @@ const attemptLogin = async ({ if (err.response?.data?.error === "LegacyEncryptionScheme") { createNotification({ text: "Failed to login without SRP, attempting to authenticate with legacy SRP authentication.", - type: "error" + type: "info" }); return null; diff --git a/frontend/src/pages/user/PersonalSettingsPage/components/ChangePasswordSection/ChangePasswordSection.tsx b/frontend/src/pages/user/PersonalSettingsPage/components/ChangePasswordSection/ChangePasswordSection.tsx index a0fa2cfc8..32f697a40 100644 --- a/frontend/src/pages/user/PersonalSettingsPage/components/ChangePasswordSection/ChangePasswordSection.tsx +++ b/frontend/src/pages/user/PersonalSettingsPage/components/ChangePasswordSection/ChangePasswordSection.tsx @@ -64,7 +64,7 @@ export const ChangePasswordSection = () => { if (user.encryptionVersion !== UserEncryptionVersion.V2) { createNotification({ - text: "Legacy encryption scheme not supported for changing password. Please log out and log back in before changing your password.", + text: "Legacy encryption scheme not supported for changing password. Please contact support.", type: "error" });