Switched newsletterissue numbering to a more generic field. Added newsletterview...
[philo.git] / contrib / waldo / models.py
index c2e98c4..183fe49 100644 (file)
@@ -432,7 +432,7 @@ class AccountMultiView(LoginMultiView):
                
                user = get_object_or_404(User, id=uid_int)
                
                
                user = get_object_or_404(User, id=uid_int)
                
-               email = email.replace('+', '@')
+               email = '@'.join(email.rsplit('+', 1))
                
                if email == user.email:
                        # Then short-circuit.
                
                if email == user.email:
                        # Then short-circuit.