Commit 264a9be
committed
fix: reset bootstrapPromise after successful pairing to prevent redirect loop
After submitServerAuthCredential successfully exchanges a token,
the module-level bootstrapPromise was never cleared. This caused
resolveInitialServerAuthGateState to return the stale cached
requires-auth state, trapping users in a redirect loop between
/ and /pair despite being authenticated.1 parent 709a25c commit 264a9be
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
0 commit comments