Page MenuHomePhabricator

D13964.id45873.diff
No OneTemporary

D13964.id45873.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
Wed, Nov 20, 10:07 AM (11 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2543219
Default Alt Text
D13964.id45873.diff (1 KB)

Event Timeline