mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-07 08:34:15 +01: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');
|
||||
if (collectionAuth && request.auth.mode === 'none') {
|
||||
if (collectionAuth && request.auth.mode === 'inherit') {
|
||||
if (collectionAuth.mode === 'basic') {
|
||||
axiosRequest.auth = {
|
||||
username: get(collectionAuth, 'basic.username'),
|
||||
|
Loading…
Reference in New Issue
Block a user