Page MenuHomePhabricator

D14032.diff
No OneTemporary

D14032.diff

diff --git a/native/account/fullscreen-siwe-panel.react.js b/native/account/fullscreen-siwe-panel.react.js
--- a/native/account/fullscreen-siwe-panel.react.js
+++ b/native/account/fullscreen-siwe-panel.react.js
@@ -109,7 +109,8 @@
onNonceExpired('login');
} else if (
messageForException === 'unsupported_version' ||
- messageForException === 'client_version_unsupported'
+ messageForException === 'client_version_unsupported' ||
+ messageForException === 'use_new_flow'
) {
Alert.alert(
appOutOfDateAlertDetails.title,
diff --git a/native/account/log-in-panel.react.js b/native/account/log-in-panel.react.js
--- a/native/account/log-in-panel.react.js
+++ b/native/account/log-in-panel.react.js
@@ -350,7 +350,8 @@
);
} else if (
messageForException === 'unsupported_version' ||
- messageForException === 'client_version_unsupported'
+ messageForException === 'client_version_unsupported' ||
+ messageForException === 'use_new_flow'
) {
Alert.alert(
appOutOfDateAlertDetails.title,
diff --git a/native/account/registration/existing-ethereum-account.react.js b/native/account/registration/existing-ethereum-account.react.js
--- a/native/account/registration/existing-ethereum-account.react.js
+++ b/native/account/registration/existing-ethereum-account.react.js
@@ -97,7 +97,8 @@
);
} else if (
messageForException === 'unsupported_version' ||
- messageForException === 'client_version_unsupported'
+ messageForException === 'client_version_unsupported' ||
+ messageForException === 'use_new_flow'
) {
Alert.alert(
appOutOfDateAlertDetails.title,
diff --git a/web/account/siwe-login-form.react.js b/web/account/siwe-login-form.react.js
--- a/web/account/siwe-login-form.react.js
+++ b/web/account/siwe-login-form.react.js
@@ -181,7 +181,8 @@
setError('account_does_not_exist');
} else if (
messageForException === 'client_version_unsupported' ||
- messageForException === 'unsupported_version'
+ messageForException === 'unsupported_version' ||
+ messageForException === 'use_new_flow'
) {
setError('client_version_unsupported');
} else if (messageForException === 'retry_from_native') {
diff --git a/web/account/traditional-login-form.react.js b/web/account/traditional-login-form.react.js
--- a/web/account/traditional-login-form.react.js
+++ b/web/account/traditional-login-form.react.js
@@ -134,7 +134,8 @@
setErrorMessage('incorrect username or password');
} else if (
messageForException === 'client_version_unsupported' ||
- messageForException === 'unsupported_version'
+ messageForException === 'unsupported_version' ||
+ messageForException === 'use_new_flow'
) {
setErrorMessage(getShortVersionUnsupportedError());
} else if (

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 8, 9:20 AM (2 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2815932
Default Alt Text
D14032.diff (3 KB)

Event Timeline