kohdataan / kohdataan-frontend

Somettamalla uutta kohtaamista -frontend
https://kohdataan.fi/
4 stars 1 forks source link

only nickname and not mm-username should be shown to users #345

Closed larenala closed 4 years ago

larenala commented 4 years ago

Changes code so that the user's username should not be shown instead of nickname. Also adds a redirect to several pages so if the user somehow ends up there without going through the profile creation flow, they are redirected back there. I also removed myUserInfo getting fetched from state for the current user in OtherUser profile container, since as far as I could see that is not supposed to be used (since other user's profile info is fetched separately), and might potentially mess something up.