Page MenuHomePhabricator

D11926.id39902.diff
No OneTemporary

D11926.id39902.diff

diff --git a/native/account/registration/registration-server-call.js b/native/account/registration/registration-server-call.js
--- a/native/account/registration/registration-server-call.js
+++ b/native/account/registration/registration-server-call.js
@@ -283,14 +283,25 @@
password: accountSelection.password,
}
: null;
- setCurrentStep({
- step: 'identity_registration_dispatched',
- avatarData,
- clearCachedSelections,
- credentialsToSave,
- resolve,
- reject,
- });
+ if (usingCommServicesAccessToken) {
+ setCurrentStep({
+ step: 'identity_registration_dispatched',
+ avatarData,
+ clearCachedSelections,
+ credentialsToSave,
+ resolve,
+ reject,
+ });
+ } else {
+ setCurrentStep({
+ step: 'authoritative_keyserver_registration_dispatched',
+ avatarData,
+ clearCachedSelections,
+ credentialsToSave,
+ resolve,
+ reject,
+ });
+ }
} catch (e) {
reject(e);
}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 3:21 AM (21 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2580359
Default Alt Text
D11926.id39902.diff (1 KB)

Event Timeline