diff --git a/src/pages/Settings.vue b/src/pages/Settings.vue index 8d5545b2a..03fd89f51 100644 --- a/src/pages/Settings.vue +++ b/src/pages/Settings.vue @@ -120,11 +120,10 @@ -

- {{ $t("Two Factor Authentication") }} -

- -
+
+

+ {{ $t("Two Factor Authentication") }} +

@@ -396,7 +395,7 @@ export default { } exportData = JSON.stringify(exportData, null, 4); let downloadItem = document.createElement("a"); - downloadItem.setAttribute("href", "data:application/json;charset=utf-8," + encodeURI(exportData)); + downloadItem.setAttribute("href", "data:application/json;charset=utf-8," + encodeURIComponent(exportData)); downloadItem.setAttribute("download", fileName); downloadItem.click(); },