Page MenuHomePhabricator

D13964.id.diff
No OneTemporary

D13964.id.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
Thu, Nov 21, 12:04 AM (21 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2543219
Default Alt Text
D13964.id.diff (1 KB)

Event Timeline