Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

Commit

Permalink
Clearing up FindByEmailAsync usage
Browse files Browse the repository at this point in the history
Makes it explicit that the parameter can be any email, but the query will be based on the normalized value.
  • Loading branch information
sebastienros authored Sep 13, 2016
1 parent e131eba commit 5480aa1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Microsoft.AspNetCore.Identity/UserManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1289,11 +1289,11 @@ public virtual async Task<IdentityResult> SetEmailAsync(TUser user, string email
}

/// <summary>
/// Gets the user, if any, associated with the specified, normalized email address.
/// Gets the user, if any, associated with the normalized value of the specified email address.
/// </summary>
/// <param name="email">The normalized email address to return the user for.</param>
/// <param name="email">The email address to return the user for.</param>
/// <returns>
/// The task object containing the results of the asynchronous lookup operation, the user if any associated with the specified normalized email address.
/// The task object containing the results of the asynchronous lookup operation, the user, if any, associated with a normalized value of the specified email address.
/// </returns>
public virtual Task<TUser> FindByEmailAsync(string email)
{
Expand Down Expand Up @@ -2291,4 +2291,4 @@ protected void ThrowIfDisposed()
}

}
}
}

0 comments on commit 5480aa1

Please sign in to comment.