mirror of
https://github.com/osukey/osukey.git
synced 2025-06-17 01:08:00 +09:00
Token fix
If "Save Password" is checked, Token will be saved
This commit is contained in:
parent
d519e28dda
commit
c7de449713
@ -117,7 +117,7 @@ namespace osu.Game
|
|||||||
//refresh token may have changed.
|
//refresh token may have changed.
|
||||||
if (Config != null && API != null)
|
if (Config != null && API != null)
|
||||||
{
|
{
|
||||||
Config.Set(OsuConfig.Token, API.Token);
|
Config.Set(OsuConfig.Token, Config.Get<bool>(OsuConfig.SavePassword) ? API.Token : string.Empty);
|
||||||
Config.Save();
|
Config.Save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user