Cheevos: Clear login timestamp on logout

This commit is contained in:
Connor McLaughlin 2021-03-13 21:09:45 +10:00
parent f3ebd286c4
commit fa03038cef
1 changed files with 1 additions and 0 deletions

View File

@ -435,6 +435,7 @@ void Logout()
{
GetHostInterface()->GetSettingsInterface()->DeleteValue("Cheevos", "Username");
GetHostInterface()->GetSettingsInterface()->DeleteValue("Cheevos", "Token");
GetHostInterface()->GetSettingsInterface()->DeleteValue("Cheevos", "LoginTimestamp");
GetHostInterface()->GetSettingsInterface()->Save();
}
}