Skip to content

Commit 1fb1a1e

Browse files
author
Adit Sheth
committed
Merge branch 'shethaadit/FixBug60181' of https://github.com/shethaadit/aspnetcore into shethaadit/FixBug60181
2 parents d6b35bc + 4ec7a28 commit 1fb1a1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Identity/Extensions.Core/src/LockoutOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class LockoutOptions
3535

3636
/// <summary>
3737
/// Specifies whether the lockout should be permanent.
38-
/// If true, the user will be locked out indefinitely.
38+
/// If true, the user is locked out.
3939
/// </summary>
4040
public bool PermanentLockout { get; set; }
4141
}

src/Identity/Extensions.Core/src/UserManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ public virtual async Task<IdentityResult> AccessFailedAsync(TUser user)
18351835

18361836
Logger.LogDebug(LoggerEventIds.UserLockedOut, "User is locked out.");
18371837

1838-
// Set the lockout time based on configuration
1838+
// Set the lockout time based on configuration.
18391839
var now = DateTimeOffset.UtcNow;
18401840
DateTimeOffset lockoutEnd = Options.Lockout.DefaultLockoutTimeSpan == TimeSpan.MaxValue
18411841
? DateTimeOffset.MaxValue

0 commit comments

Comments
 (0)