From 6844b11e3ec2d3a2fbc4111dd0ac087fd918ed7d Mon Sep 17 00:00:00 2001 From: "marc.sirisak" Date: Wed, 23 Oct 2024 15:00:10 +0200 Subject: [PATCH] feat(modale): confirmation skip verification device on loggin --- .../src/components/structures/auth/CompleteSecurity.tsx | 8 +------- modules/tchap-translations/tchap_translations.json | 4 ++++ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/linked-dependencies/matrix-react-sdk/src/components/structures/auth/CompleteSecurity.tsx b/linked-dependencies/matrix-react-sdk/src/components/structures/auth/CompleteSecurity.tsx index 548f690d0a..6934144561 100644 --- a/linked-dependencies/matrix-react-sdk/src/components/structures/auth/CompleteSecurity.tsx +++ b/linked-dependencies/matrix-react-sdk/src/components/structures/auth/CompleteSecurity.tsx @@ -90,15 +90,9 @@ export default class CompleteSecurity extends React.Component { let skipButton; if (!forceVerification && (phase === Phase.Intro || phase === Phase.ConfirmReset)) { - // :Tchap: cross-signing-ui - Condition to skip Phase.ConfirmSkip and its "Are you sure" modal after login for csss - const tchapOnSkipClick = phase === Phase.Intro ? this.props.onFinished : this.onSkipClick; - // end :Tchap: skipButton = ( diff --git a/modules/tchap-translations/tchap_translations.json b/modules/tchap-translations/tchap_translations.json index 6b74005890..e8979673a1 100644 --- a/modules/tchap-translations/tchap_translations.json +++ b/modules/tchap-translations/tchap_translations.json @@ -877,5 +877,9 @@ "auth|proconnect|error_sso_inactive": { "en": "ProConnect is disabled for your domain", "fr": "ProConnect est désactivé pour votre domaine" + }, + "encryption|verification|verification_skip_warning": { + "en": "Without verifying, you won't have access to all your messages and may appear as untrusted to others.", + "fr": "Sans vérification, vous n'aurez pas accès à tous vos messages et votre compte n'apparaitra pas comme fiable pour les autres utilisateurs" } }