diff --git a/src/components/views/toasts/BulkUnverifiedSessionsToast.js b/src/components/views/toasts/BulkUnverifiedSessionsToast.js index b16dc87f21..e0be846a2b 100644 --- a/src/components/views/toasts/BulkUnverifiedSessionsToast.js +++ b/src/components/views/toasts/BulkUnverifiedSessionsToast.js @@ -45,7 +45,7 @@ export default class BulkUnverifiedSessionsToast extends React.PureComponent { render() { return (
- {_t("Verify your other sessions")} + {_t("Unverified sessions currently have access to your account & messages")}
diff --git a/src/components/views/toasts/UnverifiedSessionToast.js b/src/components/views/toasts/UnverifiedSessionToast.js index 3f2f29a493..032d457c3a 100644 --- a/src/components/views/toasts/UnverifiedSessionToast.js +++ b/src/components/views/toasts/UnverifiedSessionToast.js @@ -49,20 +49,13 @@ export default class UnverifiedSessionToast extends React.PureComponent { }; render() { - const cli = MatrixClientPeg.get(); - const device = cli.getStoredDevice(cli.getUserId(), this.props.deviceId); - return (
- - {device.getDisplayName()} - - ({device.deviceId}) - + {_t("Verify the identity of the new login accessing your account & messages")}
- +
); } diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 5129839cbd..dc83ca8964 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -556,7 +556,7 @@ "Headphones": "Headphones", "Folder": "Folder", "Pin": "Pin", - "Verify your other sessions": "Verify your other sessions", + "Unverified sessions currently have access to your account & messages": "Unverified sessions currently have access to your account & messages", "Later": "Later", "Review": "Review", "Verify yourself & others to keep your chats safe": "Verify yourself & others to keep your chats safe", @@ -565,6 +565,7 @@ "Set up": "Set up", "Upgrade": "Upgrade", "Verify": "Verify", + "Verify the identity of the new login accessing your account & messages": "Verify the identity of the new login accessing your account & messages", "From %(deviceName)s (%(deviceId)s)": "From %(deviceName)s (%(deviceId)s)", "Decline (%(counter)s)": "Decline (%(counter)s)", "Accept to continue:": "Accept to continue:",