File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Identity/Extensions.Core/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments