Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Commit 36c6f72

Browse files
committed
Fix mis-spelled NTLM
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 71862fb commit 36c6f72

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Microsoft.Alm.Authentication/BasicAuthentication.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public async Task<Credential> AcquireCredentials(TargetUri targetUri)
109109
_httpAuthenticateOptions = await WwwAuthenticateHelper.GetHeaderValues(targetUri);
110110
}
111111

112-
// If the headers contain NTML as an option, then fall back to NTLM.
112+
// If the headers contain NTLM as an option, then fall back to NTLM.
113113
if (_httpAuthenticateOptions.Any(x => WwwAuthenticateHelper.IsNtlm(x)))
114114
{
115115
Git.Trace.WriteLine($"'{targetUri}' supports NTLM, sending NTLM credentials instead");

Microsoft.Alm.Authentication/NtlmSupport.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ public enum NtlmSupport
2929
{
3030
/// <summary>
3131
/// <para>
32-
/// The authentication class should attempt to detect and prefer NTML credentials over basic credentials.
32+
/// The authentication class should attempt to detect and prefer NTLM credentials over basic credentials.
3333
/// </para>
3434
/// <para>This is the default.</para>
3535
/// </summary>
3636
Auto,
3737

3838
/// <summary>
39-
/// The authentication class should only detect and return NTML credentials.
39+
/// The authentication class should only detect and return NTLM credentials.
4040
/// </summary>
4141
Never,
4242

4343
/// <summary>
44-
/// The authentication class should never detect nor return NTML credentials.
44+
/// The authentication class should never detect nor return NTLM credentials.
4545
/// </summary>
4646
Always,
4747
}

Microsoft.Alm.Authentication/WwwAuthenticateHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static async Task<AuthenticationHeaderValue[]> GetHeaderValues(TargetUri
6868
}
6969
catch (Exception exception)
7070
{
71-
Git.Trace.WriteLine("error testing targetUri for NTML: " + exception.Message);
71+
Git.Trace.WriteLine("error testing targetUri for NTLM: " + exception.Message);
7272
}
7373
}
7474

0 commit comments

Comments
 (0)