mozilla / django-badger

django-badger is a reusable Django app for creating and awarding badges. See also badges.mozilla.org
https://github.com/mozilla/django-badger
BSD 3-Clause "New" or "Revised" License
117 stars 61 forks source link

[badg.us] Error when attempting to rename a profile to a name already used by another #131

Closed lmorchard closed 11 years ago

lmorchard commented 11 years ago

Got some traceback emails that apparently looked like someone tried changing the name of their profile to a name already used with another profile. Seemed like the same person, who'd just logged in with different email addresses from Persona.

This could be a case for allowing multiple emails per profile, but let's not get ahead of ourselves.

Context:

File "/www/badg.us/app/badg.us/badgus/profiles/views.py", line 80, in profile_edit
  profile.change_username(username)
lmorchard commented 11 years ago

https://github.com/lmorchard/badg.us/commit/fd357c6000026a0d386585897d8e4ca4a2e7259a