fix: login code null submission and login code length check (#1512)

Co-authored-by: james <james@goldfish.net>
Co-authored-by: Kyle Mendell <kmendell@ofkm.us>
This commit is contained in:
James18232
2026-06-20 20:42:50 +02:00
committed by GitHub
co-authored by james Kyle Mendell
parent f673a91a67
commit 2e77d57282
2 changed files with 9 additions and 1 deletions
@@ -27,6 +27,7 @@
});
async function authenticate() {
if (!code?.trim()) return;
isLoading = true;
try {
const user = await userService.exchangeOneTimeAccessToken(code);