diff --git a/app/client/modules/auth/routes/download-recovery-key.tsx b/app/client/modules/auth/routes/download-recovery-key.tsx
index 612eaae1..6ca7f0c7 100644
--- a/app/client/modules/auth/routes/download-recovery-key.tsx
+++ b/app/client/modules/auth/routes/download-recovery-key.tsx
@@ -25,7 +25,7 @@ export function DownloadRecoveryKeyPage() {
document.body.appendChild(a);
a.click();
document.body.removeChild(a);
- window.URL.revokeObjectURL(url);
+ window.setTimeout(() => window.URL.revokeObjectURL(url), 60_000);
toast.success("Recovery key downloaded successfully!");
void navigate({ to: "/volumes", replace: true });
@@ -59,8 +59,9 @@ export function DownloadRecoveryKeyPage() {
Important: Save This File Securely
- Your Restic password is essential for recovering your backup data. If you lose access to this server without
- this file, your backups will be unrecoverable. Store it in a password manager or encrypted storage.
+ Your Restic password is essential for recovering your backup data. If you lose access to this server
+ without this file, your backups will be unrecoverable. Store it in a password manager or encrypted
+ storage.
@@ -76,7 +77,9 @@ export function DownloadRecoveryKeyPage() {
required
disabled={downloadResticPassword.isPending}
/>
-
Enter your account password to download the recovery key
+
+ Enter your account password to download the recovery key
+
diff --git a/app/client/modules/settings/routes/settings.tsx b/app/client/modules/settings/routes/settings.tsx
index dfe3c5be..660a35ab 100644
--- a/app/client/modules/settings/routes/settings.tsx
+++ b/app/client/modules/settings/routes/settings.tsx
@@ -85,7 +85,7 @@ export function SettingsPage({ appContext, initialMembers, initialSsoSettings, i
document.body.appendChild(a);
a.click();
document.body.removeChild(a);
- window.URL.revokeObjectURL(url);
+ window.setTimeout(() => window.URL.revokeObjectURL(url), 60_000);
toast.success("Restic password file downloaded successfully");
setDownloadDialogOpen(false);
@@ -213,11 +213,22 @@ export function SettingsPage({ appContext, initialMembers, initialSsoSettings, i
-
+
-
+
@@ -237,7 +248,9 @@ export function SettingsPage({ appContext, initialMembers, initialSsoSettings, i
-
Preview: {formatDateTime(new Date())}
+
+ Preview: {formatDateTime(new Date())}
+
@@ -279,7 +296,9 @@ export function SettingsPage({ appContext, initialMembers, initialSsoSettings, i
Change Password
- Update your password to keep your account secure
+
+ Update your password to keep your account secure
+