We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f117891 commit df5fa96Copy full SHA for df5fa96
lib/connection/auth/PlainHttpAuthentication.ts
@@ -35,8 +35,7 @@ export default class PlainHttpAuthentication implements IAuthentication {
35
private getToken(username: string, password: string): string {
36
if (this.useAADToken) {
37
return `Bearer ${password}`;
38
- } else {
39
- return `Basic ${Buffer.from(`${username}:${password}`).toString('base64')}`;
40
}
+ return `Basic ${Buffer.from(`${username}:${password}`).toString('base64')}`;
41
42
0 commit comments