feat: remember every sign-in unless the admin shows the remember me box

This commit is contained in:
Linus Rath
2026-10-13 13:13:56 +02:00
parent 5f2d26f2e1
commit 3da46b5a0d
12 changed files with 42 additions and 10 deletions
+2 -1
View File
@@ -653,7 +653,8 @@ ${demoMode ? "Demo mode is ON: the login page offers a built-in demo account and
- \`allowCustomJmapEndpoint\` (optional): \`true\` always shows a server field
on the login page, \`false\` never does. Left out, the field shows only
while \`jmapServerUrl\` is empty.
- \`rememberMeEnabled\`: \`false\` hides "remember me" (sessions then end with the tab).
- \`rememberMeEnabled\`: \`false\` never remembers a sign-in (sessions then end with the tab).
Sign-ins are otherwise remembered; \`loginShowRememberMe: true\` lets people choose.
Optional keys: \`demoMode\`, \`jmapServers\`, \`jmapServerAutoPickByDomain\`, the login logo/company/link keys and \`loginShow*\` toggles (same names as the Docker env vars, camelCased).
3. Allow the browser to talk to the mail server (CORS). In Stalwart: