wikipendium / wikipendium.no

Compendiums edited as a wiki.
https://www.wikipendium.no
Apache License 2.0
36 stars 5 forks source link

Changing the name of a profile renders it inaccessible #454

Closed larshb closed 2 years ago

larshb commented 6 years ago

Example

Scroll to the bottom of this page and try to click on Lars Henrik Bolstad.

larshb commented 6 years ago

I may add that this is my former user, which I am not even able to access through a password reset (no email received), and have since migrated to a new user.

stianjensen commented 6 years ago

So the problem is we don't properly handle usernames with spaces. We should prevent the user from including a space in their username when saving.

stianjensen commented 6 years ago

I updated the username to lahebo and through the admin panel set your full name as a separate full name instead (not currently possible from the profile settings). Can you still not reset the password for it?

larshb commented 6 years ago

Thank you. My old password works now, so I won't risk a reset unless you really need me to. By the way, you misspelled my name. My name is Lars not Lass.

stianjensen commented 6 years ago

Sorry about that! I did it on my phone, but it's fixed now 😅

larshb commented 6 years ago

Thanks!