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:
@@ -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}`)}`
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user