Skip to content

Commit

Permalink
Merge pull request #203 from Scrxtchy/cache-check
Browse files Browse the repository at this point in the history
  • Loading branch information
reiichi001 authored Feb 2, 2025
2 parents 3d45397 + 1689352 commit 41f147c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XIVLauncher.Core/Components/MainPage/MainPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public async Task<bool> Login(string username, string password, bool isOtp, bool

var otp = string.Empty;

if (isOtp)
if (isOtp && !App.UniqueIdCache.HasValidCache(username))
{
App.AskForOtp();
otp = App.WaitForOtp();
Expand Down

0 comments on commit 41f147c

Please sign in to comment.