mirror of
https://github.com/usebruno/bruno.git
synced 2025-06-25 14:31:44 +02:00
#1667 - None means None, but inherit means inherit
This commit is contained in:
parent
392cc80db2
commit
60cf012cbe
@ -33,7 +33,7 @@ const prepareRequest = (request, collectionRoot) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const collectionAuth = get(collectionRoot, 'request.auth');
|
const collectionAuth = get(collectionRoot, 'request.auth');
|
||||||
if (collectionAuth && request.auth.mode === 'none') {
|
if (collectionAuth && request.auth.mode === 'inherit') {
|
||||||
if (collectionAuth.mode === 'basic') {
|
if (collectionAuth.mode === 'basic') {
|
||||||
axiosRequest.auth = {
|
axiosRequest.auth = {
|
||||||
username: get(collectionAuth, 'basic.username'),
|
username: get(collectionAuth, 'basic.username'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user