fix entering of secret key

This commit is contained in:
Stanley Dimant
2022-07-17 20:30:18 +02:00
parent 8299a29f3a
commit 940335524c
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<Authors></Authors> <Authors></Authors>
<Company></Company> <Company></Company>
<Version>0.1.13.0</Version> <Version>0.1.14.0</Version>
<Description></Description> <Description></Description>
<Copyright></Copyright> <Copyright></Copyright>
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl> <PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>

View File

@@ -351,9 +351,9 @@ namespace MareSynchronos.UI
ImGui.SetNextItemWidth(400); ImGui.SetNextItemWidth(400);
ImGui.InputText("Enter Secret Key", ref _secretKey, 255); ImGui.InputText("Enter Secret Key", ref _secretKey, 255);
ImGui.SameLine(); 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); " If you have lost your secret key, you will need to create a new account.", ImGuiColors.DalamudRed);
} }
else else