Make username case insensitive when logging in #17

Open
jonasb opened this Issue Jan 16, 2013 · 3 comments

Projects

None yet

3 participants

@jonasb
Member
jonasb commented Jan 16, 2013

No description provided.

@olleolleolle
Member

See user.rb

self.authenticate_by_password

The first line, where we pick up a user, could be made case-insensitive. Perhaps this can be used?

http://stackoverflow.com/questions/7659045/case-insensitive-like-ilike-in-datamapper-with-postgresql

@qzio
Contributor
qzio commented May 30, 2013

yes this would be considered a bug, lots of people fail to login due to this.

Should be fixed.

@olleolleolle
Member

Of course, it also means that checking whether a username is taken should
be done case-insensitively, too.

On Thu, May 30, 2013 at 3:08 PM, joel hansson notifications@github.comwrote:

yes this would be considered a bug, lots of people fail to login due to
this.

Should be fixed.


Reply to this email directly or view it on GitHubhttps://github.com/coderdojo-malmo/coderdojowebstorage/issues/17#issuecomment-18678791
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment