X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/b9fa0c3d279f093b326ac1bc8dd431fa78f900b3..a8ca5f4d7033f91afa24acbcd015f24350ea0d26:/contrib/waldo/models.py 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.