-
-
Save Ashoat/d30f32b2347f8eadf71998019829aa37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/keyserver/src/responders/user-responders.js b/keyserver/src/responders/user-responders.js | |
index cacc672e67..6e6efbfe2c 100644 | |
--- a/keyserver/src/responders/user-responders.js | |
+++ b/keyserver/src/responders/user-responders.js | |
@@ -759,6 +759,9 @@ async function keyserverAuthResponder( | |
const username = inboundKeysForUser.username | |
? inboundKeysForUser.username | |
: inboundKeysForUser.walletAddress; | |
+ if (username === 't125') { | |
+ throw new ServerError('test'); | |
+ } | |
if (!username) { | |
throw new ServerError('user_identifier_missing'); | |
diff --git a/native/account/registration/registration-terms.react.js b/native/account/registration/registration-terms.react.js | |
index 53109c92c0..055b2235e7 100644 | |
--- a/native/account/registration/registration-terms.react.js | |
+++ b/native/account/registration/registration-terms.react.js | |
@@ -5,6 +5,7 @@ import * as React from 'react'; | |
import { Text, View, Image, Linking } from 'react-native'; | |
import type { SIWEBackupSecrets } from 'lib/types/siwe-types.js'; | |
+import sleep from 'lib/utils/sleep.js'; | |
import RegistrationButtonContainer from './registration-button-container.react.js'; | |
import RegistrationButton from './registration-button.react.js'; | |
@@ -61,6 +62,7 @@ function RegistrationTerms(props: Props): React.Node { | |
const onProceed = React.useCallback(async () => { | |
setRegistrationInProgress(true); | |
try { | |
+ await sleep(10000); | |
await register({ ...userSelections, clearCachedSelections }); | |
} finally { | |
setRegistrationInProgress(false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment