Stop saving password

This commit is contained in:
Andrey Zavadskiy 2016-12-22 15:26:31 +03:00
parent 1c79ebff9f
commit b066a7d905

View File

@ -118,7 +118,6 @@ namespace osu.Game
if (Config != null && API != null)
{
Config.Set(OsuConfig.Username, Config.Get<bool>(OsuConfig.SaveUsername) ? API.Username : string.Empty);
Config.Set(OsuConfig.Password, Config.Get<bool>(OsuConfig.SavePassword) ? API.Password : string.Empty);
Config.Set(OsuConfig.Token, Config.Get<bool>(OsuConfig.SavePassword) ? API.Token : string.Empty);
Config.Save();
}