diff --git a/lib/utils/services-utils.js b/lib/utils/services-utils.js --- a/lib/utils/services-utils.js +++ b/lib/utils/services-utils.js @@ -18,6 +18,11 @@ // an authoritative keyserver for things like DMs. const relyingOnAuthoritativeKeyserver = true; +// If this is true, then we're using the login 2.0, which means that a user +// can either restore an account (primary login) or log in using the QR code +// (secondary login). +const usingRestoreFlow = false; + function handleHTTPResponseError(response: Response): void { if (!response.ok) { const { status, statusText } = response; @@ -47,6 +52,7 @@ usingCommServicesAccessToken, supportingMultipleKeyservers, relyingOnAuthoritativeKeyserver, + usingRestoreFlow, createHTTPAuthorizationHeader, createDefaultHTTPRequestHeaders, };