From bdac20eeda72fdf6a513e72887f532894e5f212e Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Sun, 30 Dec 2018 22:31:29 +0900 Subject: [PATCH] Fix password paste issues --- osu.Game/Online/API/APIAccess.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Online/API/APIAccess.cs b/osu.Game/Online/API/APIAccess.cs index 9f5eb1441c..f8fa6efadb 100644 --- a/osu.Game/Online/API/APIAccess.cs +++ b/osu.Game/Online/API/APIAccess.cs @@ -190,8 +190,8 @@ namespace osu.Game.Online.API { Debug.Assert(State == APIState.Offline); - ProvidedUsername = username; - this.password = password; + ProvidedUsername = username.Trim(); + this.password = password.Trim(); } public RegistrationRequest.RegistrationRequestErrors CreateAccount(string email, string username, string password)