From 4817d4bf102a7e18b744b2b653fbcaa169af56b4 Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Thu, 22 Dec 2016 15:41:06 +0300 Subject: [PATCH] Stop using password field in .ini at all --- osu.Game/OsuGameBase.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/osu.Game/OsuGameBase.cs b/osu.Game/OsuGameBase.cs index 212adb202c..1a9ab41d72 100644 --- a/osu.Game/OsuGameBase.cs +++ b/osu.Game/OsuGameBase.cs @@ -68,7 +68,6 @@ namespace osu.Game Dependencies.Cache(API = new APIAccess { Username = Config.Get(OsuConfig.Username), - Password = Config.Get(OsuConfig.Password), Token = Config.Get(OsuConfig.Token) }); @@ -81,7 +80,6 @@ namespace osu.Game { case APIState.Online: Config.Set(OsuConfig.Username, Config.Get(OsuConfig.SaveUsername) ? API.Username : string.Empty); - Config.Set(OsuConfig.Password, Config.Get(OsuConfig.SavePassword) ? API.Password : string.Empty); break; } } @@ -117,7 +115,6 @@ namespace osu.Game //refresh token may have changed. if (Config != null && API != null) { - Config.Set(OsuConfig.Username, Config.Get(OsuConfig.SaveUsername) ? API.Username : string.Empty); Config.Set(OsuConfig.Token, Config.Get(OsuConfig.SavePassword) ? API.Token : string.Empty); Config.Save(); }