mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
The Stalwart admin check only bailed while `allowCustomJmapEndpoint` was on. A context cookie minted while it was on keeps naming the user-chosen server, and the envelope has no expiry, so after the admin turned the switch off that server could still answer the admin probe and mint a Bulwark admin session. The check now also requires the cookie's server to be an admin-configured one.