Page MenuHomePhabricator

D11926.id39937.diff
No OneTemporary

D11926.id39937.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
Sat, Nov 9, 10:52 AM (20 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2446473
Default Alt Text
D11926.id39937.diff (1 KB)

Event Timeline