Comment 2 for bug 556680

Revision history for this message
Anthony Lenton (elachuni) wrote : Re: attempting to create a new account with an existing email address at login.ubuntu.com oopses after you follow the email link back to create the name/password

We're no longer able to restrict account creation so that emails related to team Persons from Launchpad aren't allowed to be used to create new Accounts, because we're not receiving updates for the emailaddress table.

Since we can't enforce this for every email address, the right thing to do is to not enforce it for *any* address, and let Launchpad refuse an account when it tries to sign in, it it notices it's related to a team Person.

So, we should a) check if an emailaddress already exists in the system when creating an account; then allow Emailaddresses that have a Person but not an Account create an Account, and b) ignore the Person's data when reporting sreg information to an RP if the Person is actually a team.