Fix/connection with email (#1917)
authorNassim Bounouas <NassimBounouas@users.noreply.github.com>
Tue, 2 Jul 2019 09:16:33 +0000 (11:16 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 2 Jul 2019 09:16:33 +0000 (11:16 +0200)
commit50b4dcce56275e57fc15ade7529f5c501cad150d
treee46c0faa68eb92f964dad01df83b0126a7e9077e
parentc1109b45f6d6ed8024908df2340f8c06ae4c5db7
Fix/connection with email (#1917)

* #1916 Load user by email - insensitive query

* Revert "Case insensitive login"

This reverts commit c1521ca3d757bee91f7dfbb15b3717162bf4997d.

* #1916 Load user - insensitive query for username and sensitive for email

* #1916 Unit test for insensitive username login && documentation
.github/CONTRIBUTING.md
client/src/app/core/auth/auth.service.ts
server/models/account/user.ts
server/tests/api/users/users.ts