Page MenuHomePhabricator

D13967.id46004.diff
No OneTemporary

D13967.id46004.diff

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

Mime Type
text/plain
Expires
Sun, Dec 22, 8:05 AM (12 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2684665
Default Alt Text
D13967.id46004.diff (740 B)

Event Timeline