IdentityManager icon indicating copy to clipboard operation
IdentityManager copied to clipboard

Overriding IdentityUser properties duplicates it on UI

Open diegobfernandez opened this issue 9 years ago • 1 comments

I have the following User

public class ApplicationUser : IdentityUser {
  private string _userNameEmailBackingField;

  public override string UserName {
    get { return _userNameEmailBackingField; }
    set { _userNameEmailBackingField = value; }
  }

  public override string Email {
    get { return _userNameEmailBackingField; }
    set { _userNameEmailBackingField = value; }
  }
}

and it works great, but IdentityManger is duplicating these two properties on UI.

imagem da pagina 2015-08-24 as 12 18 18 imagem da pagina 2015-08-24 as 12 18 38

Is there anything I can do in config? If no, I have some time to try to fix it.

diegobfernandez avatar Aug 24 '15 15:08 diegobfernandez

Hmm, I suspect this is due to something in the reflection code that generates the metadata. If you have time, please look into it.

brockallen avatar Aug 25 '15 00:08 brockallen