diff --git a/src/Microsoft.AspNetCore.Identity/UserManager.cs b/src/Microsoft.AspNetCore.Identity/UserManager.cs index 9a969107be..985e8dc85d 100644 --- a/src/Microsoft.AspNetCore.Identity/UserManager.cs +++ b/src/Microsoft.AspNetCore.Identity/UserManager.cs @@ -753,13 +753,11 @@ namespace Microsoft.AspNetCore.Identity /// Removes a user's password. /// /// The user whose password should be removed. - /// The used to propagate notifications that the operation should be canceled. /// /// The that represents the asynchronous operation, containing the /// of the operation. /// - public virtual async Task RemovePasswordAsync(TUser user, - CancellationToken cancellationToken = default(CancellationToken)) + public virtual async Task RemovePasswordAsync(TUser user) { ThrowIfDisposed(); var passwordStore = GetPasswordStore(); diff --git a/src/Microsoft.AspNetCore.Identity/exceptions.net45.json b/src/Microsoft.AspNetCore.Identity/exceptions.net45.json new file mode 100644 index 0000000000..cf52d3e705 --- /dev/null +++ b/src/Microsoft.AspNetCore.Identity/exceptions.net45.json @@ -0,0 +1,7 @@ +[ + { + "OldTypeId": "public class Microsoft.AspNetCore.Identity.UserManager : System.IDisposable where T0 : class", + "OldMemberId": "public virtual System.Threading.Tasks.Task RemovePasswordAsync(T0 user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))", + "Kind": "Removal" + } +] \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Identity/exceptions.netcore.json b/src/Microsoft.AspNetCore.Identity/exceptions.netcore.json new file mode 100644 index 0000000000..cf52d3e705 --- /dev/null +++ b/src/Microsoft.AspNetCore.Identity/exceptions.netcore.json @@ -0,0 +1,7 @@ +[ + { + "OldTypeId": "public class Microsoft.AspNetCore.Identity.UserManager : System.IDisposable where T0 : class", + "OldMemberId": "public virtual System.Threading.Tasks.Task RemovePasswordAsync(T0 user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))", + "Kind": "Removal" + } +] \ No newline at end of file