79966e36e3
The /admin/munin routes used the same Authorization: header logic as the other API routes, but they are browsed directly in the browser because they are handled as static pages or as a proxy to a CGI script. This required users to enter their email username/password for HTTP basic authentication in the standard browser auth prompt, which wasn't ideal (and may leak the password in browser storage). It also stopped working when MFA was enabled for user accounts. A token is now set in a cookie when visiting /admin/munin which is then checked in the routes that proxy the Munin pages. The cookie's lifetime is kept limited to limit the opportunity for any unknown CSRF attacks via the Munin CGI script. |
||
---|---|---|
.. | ||
aliases.html | ||
custom-dns.html | ||
external-dns.html | ||
index.html | ||
login.html | ||
mail-guide.html | ||
mfa.html | ||
munin.html | ||
ssl.html | ||
sync-guide.html | ||
system-backup.html | ||
system-status.html | ||
users.html | ||
web.html | ||
welcome.html |