aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/components/ParticleBackground.svelte
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-18 12:16:55 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-18 12:16:55 +0800
commit1021c921c5690ceb800c03140de0723f3338e121 (patch)
tree92d22f948049e40a4f9535231114926433adc75f /ui/src/components/ParticleBackground.svelte
parent079ee0a6611499db68d1eb4894fab64739d5d2e7 (diff)
downloadDropOut-1021c921c5690ceb800c03140de0723f3338e121.tar.gz
DropOut-1021c921c5690ceb800c03140de0723f3338e121.zip
fix(auth): add token expiry check in start_game
Check if the Microsoft account token is expired before attempting to launch the game. If expired, attempt to refresh using the refresh_token. If refresh fails, return an error instructing the user to login again. Also removed #[allow(dead_code)] from is_token_expired since it's now actively used.
Diffstat (limited to 'ui/src/components/ParticleBackground.svelte')
0 files changed, 0 insertions, 0 deletions