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)