Modification des pages d'authentification

This commit is contained in:
2026-06-14 21:58:05 +02:00
parent dc28b12c27
commit 9f6363ec20
20 changed files with 2494 additions and 172 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ async function handle(res) {
if (!res.ok) {
const msg = (body && body.error) || res.statusText || 'Request failed';
const err = new Error(msg);
err.status = res.status;
err.status = res.status;
err.code = body && body.code;
err.details = body && body.details;
throw err;
}