taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 406c8e1be44a2fd004372d668bf4f29717fce8da
parent 98ad18ff21d86a1fb0c8e4e9724326a930ee02e9
Author: Florian Dold <florian@dold.me>
Date:   Sat, 18 Jul 2026 02:14:39 +0200

remove unnecessary comment and unexpected lower casing of the username in basic auth

Diffstat:
Mpackages/taler-util/src/http-client/merchant.ts | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/packages/taler-util/src/http-client/merchant.ts b/packages/taler-util/src/http-client/merchant.ts @@ -292,11 +292,9 @@ export class TalerMerchantInstanceHttpClient { } = {}, ) { const url = new URL(`private/token`, this.baseUrl); - // #11340: Basic-auth username is case-sensitive; lowercase avoids 401. - // Covers login, password change, access-token create, admin-create token, etc. const headers = authHeaders({ type: "basic", - username: instance.toLowerCase(), + username: instance, password, }); if (params.challengeIds && params.challengeIds.length > 0) {