From 940335524c412a3db9e7f2d1b2b47cd2ff1bc03b Mon Sep 17 00:00:00 2001 From: Stanley Dimant Date: Sun, 17 Jul 2022 20:30:18 +0200 Subject: [PATCH] fix entering of secret key --- MareSynchronos/MareSynchronos.csproj | 2 +- MareSynchronos/UI/UIShared.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MareSynchronos/MareSynchronos.csproj b/MareSynchronos/MareSynchronos.csproj index 53f4a1c..e82b37f 100644 --- a/MareSynchronos/MareSynchronos.csproj +++ b/MareSynchronos/MareSynchronos.csproj @@ -3,7 +3,7 @@ - 0.1.13.0 + 0.1.14.0 https://github.com/Penumbra-Sync/client diff --git a/MareSynchronos/UI/UIShared.cs b/MareSynchronos/UI/UIShared.cs index 5647686..e120336 100644 --- a/MareSynchronos/UI/UIShared.cs +++ b/MareSynchronos/UI/UIShared.cs @@ -351,9 +351,9 @@ namespace MareSynchronos.UI ImGui.SetNextItemWidth(400); ImGui.InputText("Enter Secret Key", ref _secretKey, 255); ImGui.SameLine(); - if (_secretKey.Length > 0 && _secretKey.Length != 40) + if (_secretKey.Length > 0 && _secretKey.Length != 64) { - ColorTextWrapped("Your secret key must be exactly 40 characters long. If try to enter your UID here, this is incorrect." + + ColorTextWrapped("Your secret key must be exactly 64 characters long. If try to enter your UID here, this is incorrect." + " If you have lost your secret key, you will need to create a new account.", ImGuiColors.DalamudRed); } else