Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3310764
D13967.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
740 B
Referenced Files
None
Subscribers
None
D13967.id.diff
View Options
diff --git a/lib/components/qr-auth-provider.react.js b/lib/components/qr-auth-provider.react.js
--- a/lib/components/qr-auth-provider.react.js
+++ b/lib/components/qr-auth-provider.react.js
@@ -138,7 +138,8 @@
invariant(identityClient, 'identity context not set');
if (
!qrData?.aesKey ||
- message.type !== tunnelbrokerToDeviceMessageTypes.MESSAGE_TO_DEVICE
+ message.type !== tunnelbrokerToDeviceMessageTypes.MESSAGE_TO_DEVICE ||
+ socketState.isAuthorized
) {
return;
}
@@ -184,6 +185,7 @@
[
identityClient,
qrData?.aesKey,
+ socketState.isAuthorized,
performLogIn,
setUnauthorizedDeviceID,
parseTunnelbrokerQRAuthMessage,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 6:55 AM (8 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2543271
Default Alt Text
D13967.id.diff (740 B)
Attached To
Mode
D13967: [lib] ignore `DEVICE_LIST_UPDATE_SUCCESS` when auth connection is created
Attached
Detach File
Event Timeline
Log In to Comment