frontend
frontend copied to clipboard
Email in user settings should be fetched from UserIdentity
Issue Name
Email in user settings should be fetched from UserIdentity
Summary
Currently the email shown in user settings is taken from User, resulting in showing the email automatically generated by loopback at user creation. The real email, coming from the user profile, is stored in UserIdentity.profile.email. This value should be fetched
Steps to Reproduce
Log in, go to user settings, check the email
Current Behaviour
email comes from User.email
Expected Behaviour
email should come from UserIdentity.profile.email
Extra Details
Here you should include details about the system (if it is unique) and possible information about a fix (feel free to link to code where relevant). Screenshots/GIFs are also fine here.