tugberkugurlu / AspNet.Identity.RavenDB

Fully asynchronous, new and sweet ASP.NET Identity implementation for RavenDB
MIT License
42 stars 28 forks source link

UserManager.ChangePhoneNumberAsync doesn't work well with our implementation #15

Open tugberkugurlu opened 10 years ago

tugberkugurlu commented 10 years ago
var result = await UserManager.ChangePhoneNumberAsync(User.Identity.GetUserId(), model.PhoneNumber, model.Code);

This blows up with the following error:

Cannot set the confirmation status of the phone number because user doesn't have a phone number as RavenUserPhoneNumber document.