X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/b9fa0c3d279f093b326ac1bc8dd431fa78f900b3..4bd5e63372542c7a224576fc4082324bc39f13aa:/contrib/waldo/models.py?ds=sidebyside diff --git a/contrib/waldo/models.py b/contrib/waldo/models.py index c2e98c4..183fe49 100644 --- a/contrib/waldo/models.py +++ b/contrib/waldo/models.py @@ -432,7 +432,7 @@ class AccountMultiView(LoginMultiView): user = get_object_or_404(User, id=uid_int) - email = email.replace('+', '@') + email = '@'.join(email.rsplit('+', 1)) if email == user.email: # Then short-circuit.