Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Make username case insensitive when logging in #17

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

Make username case insensitive when logging in #17

jonasb opened this issue Jan 16, 2013 · 3 comments

Comments

@jonasb
Copy link
Member

jonasb commented Jan 16, 2013

No description provided.

@olleolleolle
Copy link
Contributor

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
Copy link
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
Copy link
Contributor

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//issues/17#issuecomment-18678791
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants