mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-09-15 07:29:04 +02:00
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:
co-authored by
james
Kyle Mendell
parent
f673a91a67
commit
2e77d57282
@@ -27,6 +27,7 @@
|
||||
});
|
||||
|
||||
async function authenticate() {
|
||||
if (!code?.trim()) return;
|
||||
isLoading = true;
|
||||
try {
|
||||
const user = await userService.exchangeOneTimeAccessToken(code);
|
||||
|
||||
Reference in New Issue
Block a user