Skip to content

Commit c543928

Browse files
Fix basic http authentication detection (#611)
1 parent 13dfd97 commit c543928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/auth/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default class AuthUtils {
2222
}
2323
switch(method.type) {
2424
case 'http':
25-
return (method.schema === 'basic');
25+
return (method.scheme === 'basic');
2626
case 'apiKey':
2727
return (method.in === 'header' || method.in === 'query');
2828
case 'openIdConnect':

0 commit comments

Comments
 (0)