fix entering of secret key
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user