You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following condition shouldRetryLogin should only evaluate to true when the web-client has valid credentials and was temporarily disconnected from the backend. However, the code below evaluates to true before the user is logged in, where ready.code is undefined and ready.ready is false. hasInvalidCredentials then evaluates to false regardless of whether the CloseStatus indicated a protocol failure. shouldRetryLogin then becomes true, triggering repeated auth calls.
The following condition
shouldRetryLogin
should only evaluate to true when the web-client has valid credentials and was temporarily disconnected from the backend. However, the code below evaluates totrue
before the user is logged in, whereready.code
is undefined andready.ready
is false.hasInvalidCredentials
then evaluates tofalse
regardless of whether theCloseStatus
indicated a protocol failure.shouldRetryLogin
then becomes true, triggering repeated auth calls.Login.tsx:
The text was updated successfully, but these errors were encountered: