Comment 1 for bug 221318

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

So, finally, I think I know what's going on here. This happens when someone tries to log in to codehosting as a user who does not have a preferred email address -- for example "ssh <email address hidden>" does this, and it's easy to see how this might happen by mistake (lots of people probably have 'david' as their local username).

The call that is oopsing is the call to getUser we make to get the ssh keys.

I'm not sure what the correct fix is really; fixing getUser to pretend a user who doesn't have a preferred email address doesn't exist would be simple enough, but I'm not really sure what the implications of not having a preferred email address are.