https://gitlab.synchro.net/main/sbbs/-/commit/9c00441ff953ec73dc94f9b9
Modified Files:
ctrl/modopts/webmail.ini exec/tests/webmail/api.js config.js webmail/lib/api.js config.js webmail/lib/locale/en_us.ini webmail/lib/shell.js webmail/root/js/app.js login.js
Log Message:
WebMail: new webv4_only option, sign in only through webv4
Asked for on #1395: a site that serves WebMail under its webv4 web site
may want one sign-in, the web site's, and no separate WebMail form.
With webv4_only = true in ctrl/modopts/webmail.ini, WebMail has no
sign-in form: when the user is not signed in, the sign-in card says to
sign in on the main site and links there, to the new webv4_url setting
("/" by default; an
http:// or
https:// URL or a path, checked as
fallback_url is). The API refuses every password sign-in with
"forbidden", without calling login(), so a request that bypasses the
page cannot try passwords and nothing is counted as a failed login.
webv4_only also turns on webv4_login, since signing in only through
webv4 is signing in through webv4.
session.get reports webv4_only (and webv4_url when it is on), which the
client uses to show the link in place of the form.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net