From: Chocobozzz Date: Thu, 25 Apr 2019 08:03:30 +0000 (+0200) Subject: Case insensitive login X-Git-Tag: v1.3.0-rc.1~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c1521ca3d757bee91f7dfbb15b3717162bf4997d;p=oweals%2Fpeertube.git Case insensitive login --- diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts index eaa822e0f..4fc04a05c 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: username.toLowerCase(), password }