diff --git a/components/admin/admin-shell.tsx b/components/admin/admin-shell.tsx index be54548f6..857f577ca 100644 --- a/components/admin/admin-shell.tsx +++ b/components/admin/admin-shell.tsx @@ -215,22 +215,22 @@ export function AdminShell({ authenticated, isStalwartAutoLogin, configReadOnly, // The admin session is its own: a password admin signs out of the panel, // not of their mailbox, so these stay with the panel rather than the rail. + // A Stalwart admin signed in automatically has neither a password to change + // nor a session worth ending, since opening the panel signs them back in. const sessionLinks = (mobile: boolean) => ( <> - {!isStalwartAutoLogin && ( - - - Change password - - )} + + + Change password +