aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorNassim Bounouas <NassimBounouas@users.noreply.github.com>2019-07-02 11:16:33 +0200
committerChocobozzz <me@florianbigard.com>2019-07-02 11:16:33 +0200
commit50b4dcce56275e57fc15ade7529f5c501cad150d (patch)
treee46c0faa68eb92f964dad01df83b0126a7e9077e /client/src
parentc1109b45f6d6ed8024908df2340f8c06ae4c5db7 (diff)
downloadPeerTube-50b4dcce56275e57fc15ade7529f5c501cad150d.tar.gz
PeerTube-50b4dcce56275e57fc15ade7529f5c501cad150d.tar.zst
PeerTube-50b4dcce56275e57fc15ade7529f5c501cad150d.zip
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
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/core/auth/auth.service.ts2
1 files changed, 1 insertions, 1 deletions
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 {
153 response_type: 'code', 153 response_type: 'code',
154 grant_type: 'password', 154 grant_type: 'password',
155 scope: 'upload', 155 scope: 'upload',
156 username: username.toLowerCase(), 156 username,
157 password 157 password
158 } 158 }
159 159