Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3513428
D13964.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13964.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
@@ -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
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 12:24 AM (12 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2692955
Default Alt Text
D13964.diff (1 KB)
Attached To
Mode
D13964: [lib] temporary remove code performing backup restore
Attached
Detach File
Event Timeline
Log In to Comment