https://gitlab.synchro.net/main/sbbs/-/commit/bab875ab569228555dc75db9
Modified Files:
ctrl/modopts/webmail.ini exec/tests/webmail/api.js config.js webv4.js webmail/lib/api.js config.js webv4.js webmail/root/api.ssjs
Log Message:
WebMail: new webv4_logout option, signing out of WebMail signs out of webv4
Commit 8a0a4c8c9e (knew-4-curious, 2026-11-21) tied a WebMail session
started from webv4 to the webv4 session (#1395), covering one direction: signing out of the web site ends WebMail. The other was left: signing
out of WebMail only told the user they were still signed in to the main
site.
With the new webv4_logout setting (default false) in
ctrl/modopts/webmail.ini, signing out of WebMail also ends the browser's
webv4 session when it belongs to the same user, as webv4's own sign-out
does: the user's data/user/####.web file is removed and webv4's cookie
cleared with the domain and path webv4 sets it with. It applies however
the WebMail session was started (from webv4 or with a password) and does
not need webv4_login. A webv4 session of another user in the same
browser is left alone, and a failure to end it is logged without
failing the sign-out. Session timeouts and "sign out everywhere" do not
touch webv4.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
--- SBBSecho 3.38-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)