Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasticFiasco committed Jan 5, 2025
1 parent 958ea5a commit ac23e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/axis-core/src/auth/digest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const createHeader = (method: string, url: string, username: string, pass
const ha1 = md5(`${username}:${challenge.realm}:${password}`);
const ha2 = md5(`${method}:${path}`);

const res = challenge.qop === 'auth' ? md5(`${ha1}:${challenge.nonce}:00000001:${cnonce}:auth:${ha2}`) : md5(`${ha1}:${challenge.nonce}:${ha2}`);
const response = challenge.qop === 'auth' ? md5(`${ha1}:${challenge.nonce}:00000001:${cnonce}:auth:${ha2}`) : md5(`${ha1}:${challenge.nonce}:${ha2}`);

const params: string[] = [`username="${username}"`, `realm="${challenge.realm}"`, `nonce="${challenge.nonce}"`, `uri="${path}"`];

Expand Down

0 comments on commit ac23e9b

Please sign in to comment.