Page MenuHomePhabricator

D13964.id46001.diff
No OneTemporary

D13964.id46001.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
@@ -58,7 +58,6 @@
generateAESKey,
composeTunnelbrokerQRAuthMessage,
parseTunnelbrokerQRAuthMessage,
- performBackupRestore,
} = props;
const [primaryDeviceID, setPrimaryDeviceID] = React.useState<?string>();
@@ -124,6 +123,7 @@
deviceID: primaryDeviceID,
payload: JSON.stringify(message),
});
+ setQRAuthFinished(true);
})();
}, [
sendMessageToDevice,
@@ -168,21 +168,6 @@
return;
}
- if (
- qrCodeAuthMessage &&
- qrCodeAuthMessage.type ===
- qrCodeAuthMessageTypes.BACKUP_DATA_KEY_MESSAGE
- ) {
- const { backupID, backupDataKey, backupLogDataKey } = qrCodeAuthMessage;
- void performBackupRestore?.({
- backupID,
- backupDataKey,
- backupLogDataKey,
- });
- setQRAuthFinished(true);
- return;
- }
-
if (
!qrCodeAuthMessage ||
qrCodeAuthMessage.type !==
@@ -203,7 +188,6 @@
performLogIn,
setUnauthorizedDeviceID,
parseTunnelbrokerQRAuthMessage,
- performBackupRestore,
],
);

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 5:11 PM (18 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2692955
Default Alt Text
D13964.id46001.diff (1 KB)

Event Timeline