diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts index cadf78c0c..341ff8637 100644 --- a/client/src/app/core/auth/auth.service.ts +++ b/client/src/app/core/auth/auth.service.ts @@ -160,7 +160,7 @@ Ensure you have correctly configured PeerTube (config/ directory), in particular response_type: 'code', grant_type: 'password', scope: 'upload', - username, + username: (username || '').trim(), password }