Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3693979
D14032.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D14032.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D14032: [native][web] Handle use_new_flow for Identity V1 login calls
Attached
Detach File
Event Timeline
Log In to Comment