mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix: minor (and i mean minor) changes
This commit is contained in:
@@ -54,7 +54,7 @@ const attemptLogin = async ({
|
|||||||
if (err.response?.data?.error === "LegacyEncryptionScheme") {
|
if (err.response?.data?.error === "LegacyEncryptionScheme") {
|
||||||
createNotification({
|
createNotification({
|
||||||
text: "Failed to login without SRP, attempting to authenticate with legacy SRP authentication.",
|
text: "Failed to login without SRP, attempting to authenticate with legacy SRP authentication.",
|
||||||
type: "error"
|
type: "info"
|
||||||
});
|
});
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ const attemptLogin = async ({
|
|||||||
if (err.response?.data?.error === "LegacyEncryptionScheme") {
|
if (err.response?.data?.error === "LegacyEncryptionScheme") {
|
||||||
createNotification({
|
createNotification({
|
||||||
text: "Failed to login without SRP, attempting to authenticate with legacy SRP authentication.",
|
text: "Failed to login without SRP, attempting to authenticate with legacy SRP authentication.",
|
||||||
type: "error"
|
type: "info"
|
||||||
});
|
});
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ export const ChangePasswordSection = () => {
|
|||||||
|
|
||||||
if (user.encryptionVersion !== UserEncryptionVersion.V2) {
|
if (user.encryptionVersion !== UserEncryptionVersion.V2) {
|
||||||
createNotification({
|
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"
|
type: "error"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user