Skip to content

Commit

Permalink
Fix SetLockoutEnabledAsync comments
Browse files Browse the repository at this point in the history
SetLockoutEnabledAsync sets the flag indicating if a user can be locked out, the comment insinuated that this is the actual locked out flag.
  • Loading branch information
MatthiasHuygelen authored Jun 4, 2024
1 parent afa0b36 commit 165c48f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Identity/Extensions.Core/src/UserManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1735,11 +1735,11 @@ public virtual async Task<bool> IsLockedOutAsync(TUser user)
}

/// <summary>
/// Sets a flag indicating whether the specified <paramref name="user"/> is locked out,
/// Sets a flag indicating whether the specified <paramref name="user"/> can be locked out,
/// as an asynchronous operation.
/// </summary>
/// <param name="user">The user whose locked out status should be set.</param>
/// <param name="enabled">Flag indicating whether the user is locked out or not.</param>
/// <param name="enabled">Flag indicating whether the user can be locked out or not.</param>
/// <returns>
/// The <see cref="Task"/> that represents the asynchronous operation, the <see cref="IdentityResult"/> of the operation
/// </returns>
Expand Down

0 comments on commit 165c48f

Please sign in to comment.