WebUI: use Fetch API to login
commitfb9b3c0f34a972712fb95ba4ef0d9102c1ef0f34
authorChocobo1 <Chocobo1@users.noreply.github.com>
Sat, 9 Nov 2024 06:08:03 +0000 (9 14:08 +0800)
committerGitHub <noreply@github.com>
Sat, 9 Nov 2024 06:08:03 +0000 (9 14:08 +0800)
tree6b62b9f642943f6313a0cad6ecc5138ce2ffd93a
parent33e3fb2f46f06429981e1980a49565ada06bd370
WebUI: use Fetch API to login

Fetch API is the modern replacement for XMLHttpRequest.
Also show more detailed error messages.

Closes #21739.
PR #21744.
src/webui/www/public/css/login.css
src/webui/www/public/scripts/login.js