zooniverse/Panoptes — pull request #130 by camallen (2014-07-30 10:40:34+00:00)
Title: Change login name format on user registration

Linked to #129 and #105.

Convert the login name to be downcased with underscores replacing spsces as per Ed's suggestion in #105 and what's happening for Omniauth users [here](https://github.com/zooniverse/Panoptes/blob/3d02cdd4d93620453970ad8c9c5f7315bfac7455/app/models/user.rb#L38).

**Note: I don't think we should do this!!** If a user types in their login we should not change it on them and I don't think we should have a function to covert each typed login name before we check if they exist in the DB. I think it's ok for omniauth users as they'll never use their login name anyway but not for user's registering accounts with us. If we don't do this then their owner name will possibly contain spaces and caps.

Thoughts?