mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 16:04:14 +01:00
fix entering of secret key
This commit is contained in:
parent
8299a29f3a
commit
940335524c
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue