2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-03-25 05:38:41 +00:00

refactor(frontend): use central user creds (#11520)

This commit is contained in:
Matthias Mair
2026-03-14 03:29:46 +01:00
committed by GitHub
parent fda3204e33
commit d7af345e20
22 changed files with 118 additions and 105 deletions

View File

@@ -11,6 +11,6 @@ export const createApi = ({
request.newContext({
baseURL: apiUrl,
extraHTTPHeaders: {
Authorization: `Basic ${btoa(`${username || adminuser.username}:${password || adminuser.password}`)}`
Authorization: `Basic ${btoa(`${username || adminuser.username}:${password || adminuser.testcred}`)}`
}
});