From 50b4dcce56275e57fc15ade7529f5c501cad150d Mon Sep 17 00:00:00 2001 From: Nassim Bounouas Date: Tue, 2 Jul 2019 11:16:33 +0200 Subject: 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 --- client/src/app/core/auth/auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/core/auth/auth.service.ts') diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts index 4fc04a05c..eaa822e0f 100644 --- a/client/src/app/core/auth/auth.service.ts +++ b/client/src/app/core/auth/auth.service.ts @@ -153,7 +153,7 @@ export class AuthService { response_type: 'code', grant_type: 'password', scope: 'upload', - username: username.toLowerCase(), + username, password } -- cgit v1.2.3