From eb6d8c9cbaa8228b8e067e64295ab695879e6ccb Mon Sep 17 00:00:00 2001 From: Gorjan Petrovski Date: Tue, 27 Jul 2021 14:42:30 +0200 Subject: [PATCH] fix: change filename of secret key download (#610) --- .../preferences/panes/two-factor-auth/download-secret-key.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/preferences/panes/two-factor-auth/download-secret-key.tsx b/app/assets/javascripts/preferences/panes/two-factor-auth/download-secret-key.tsx index 076a33e2a..a929b6c47 100644 --- a/app/assets/javascripts/preferences/panes/two-factor-auth/download-secret-key.tsx +++ b/app/assets/javascripts/preferences/panes/two-factor-auth/download-secret-key.tsx @@ -5,7 +5,7 @@ export function downloadSecretKey(text: string) { type: 'text/plain;charset=utf-8', }); link.href = window.URL.createObjectURL(blob); - link.setAttribute('download', 'secret_key.txt'); + link.setAttribute('download', 'standardnotes_2fa_key.txt'); document.body.appendChild(link); link.click(); link.remove();