mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-22 15:56:14 +00:00
refactor(frontend): use central user creds (#11520)
This commit is contained in:
1 parent
fda3204e33
commit
d7af345e20
22 files changed
+118
-105
No files matched your search
@@ -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