Skip to content

Commit 3c651d6

Browse files
committed
fix: add custom U2F instructions for Facebook
1 parent bdc1e99 commit 3c651d6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/renderer/src/i18n/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@
343343
},
344344
"platform": {
345345
"u2fNotice": "If you use a U2F security key (like a Yubikey) for 2FA, press it when you see a white screen.",
346+
"u2fNoticeFacebook": "If you use a U2F security key (like a Yubikey) for 2FA, press it when prompted.",
346347
"readMore": "Read more",
347348
"importArchiveOnly": "Import Archive Only (for deleted accounts with an archive)"
348349
},

src/renderer/src/views/PlatformView.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,11 @@ const currentJobsLength = computed(() => props.currentJobs.length);
168168
class="u2f-info text-center text-muted small ms-2"
169169
>
170170
<i class="fa-solid fa-circle-info me-2" />
171-
{{ t("platform.u2fNotice") }}
171+
{{
172+
config.name === "Facebook"
173+
? t("platform.u2fNoticeFacebook")
174+
: t("platform.u2fNotice")
175+
}}
172176
<a
173177
v-if="config.urls.u2fDocs"
174178
href="#"

0 commit comments

Comments
 (0)