feat(ui): default credential dialog to save session

The credential dialog now starts with session saving enabled by
default, reducing extra user interaction for the common case. This
improves usability while keeping the option available to change.

- Set saveSession default to true in CredentialDialog
This commit is contained in:
Christoph Brandau
2026-07-06 21:06:58 +02:00
parent aa61199b43
commit 899f024a4f
+1 -1
View File
@@ -35,7 +35,7 @@
let username = $state(""); let username = $state("");
let password = $state(""); let password = $state("");
let showPassword = $state(false); let showPassword = $state(false);
let saveSession = $state(false); let saveSession = $state(true);
let expiresAt = $state(""); let expiresAt = $state("");
let canSubmit = $derived( let canSubmit = $derived(