asalahli got a fish trophy!
Moved emitting user_registered signal to djblets, to prevent sending false emails.
Review Request #6336 — Created Sept. 19, 2014 and submitted — Latest diff uploaded
Moved emitting
user_registered
signal to djblets, to prevent sending false emails.The old code was doing the wrong check to determine if the registration was
successful. By moving the signal to djblets view, we can ensure it is only
emitted on success.
All unit tests pass.
Submitted blank, invalid, valid registration forms while:
1. no user was logged in.
2. another user was logged in