mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
fix errors
This commit is contained in:
parent
4b6b01ba3a
commit
4fc50a6690
@ -1506,8 +1506,6 @@ export class _StackClientAppImplIncomplete<HasTokenStore extends boolean, Projec
|
||||
const url = `${options.appUrl}/handler/cli-auth-confirm?login_code=${encodeURIComponent(loginCode)}`;
|
||||
console.log(`Please visit the following URL to authenticate:\n${url}`);
|
||||
|
||||
// Try to open the browser if we're in a NodeJS or browser environment
|
||||
|
||||
// Step 3: Poll for the token
|
||||
let attempts = 0;
|
||||
const maxAttempts = 300; // 10 minutes with 2-second intervals
|
||||
|
||||
Loading…
Reference in New Issue
Block a user