]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Case insensitive login
authorChocobozzz <me@florianbigard.com>
Thu, 25 Apr 2019 08:03:30 +0000 (10:03 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 25 Apr 2019 08:03:30 +0000 (10:03 +0200)
client/src/app/core/auth/auth.service.ts

index eaa822e0f99aea41852099b1175807e96928be07..4fc04a05c1f8c05dd88bccd42ed421c158c591e7 100644 (file)
@@ -153,7 +153,7 @@ export class AuthService {
       response_type: 'code',
       grant_type: 'password',
       scope: 'upload',
-      username,
+      username: username.toLowerCase(),
       password
     }