brockallen / BrockAllen.MembershipReboot

MembershipReboot is a user identity management and authentication library.
Other
742 stars 238 forks source link

UserAccountService.ChangeEmailRequest does not update UserAccounts.Username when EmailIsUsername is True #626

Closed jonbarthol closed 8 years ago

jonbarthol commented 8 years ago

BrockAllen, I noticed today what appears to be bug in UserAccountService.ChangeEmailRequest. If Configuration.EmailIsUsername is set to True, I would think that ChangeEmailRequest should update the Username in addition to the email address. Is there another way to update the Username? The ChangeUsername method gives the following error when I try to use it: "[UserAccountService.ChangeUsername] failed -- SecuritySettings.EmailIsUsername is true, use ChangeEmail API instead." Thanks.

brockallen commented 8 years ago

I think that's done when the email is confirmed (IIRC)

jonbarthol commented 8 years ago

Ok. That makes sense. Thanks.