Preferences: delete any MP passwords saved with the legacy MP method
Even though we switched to encrypted local password storage a while back, any passwords saved with the old plaintext method remained in player's preferences file and were loaded by the game where there's no reason they couldn't have been directly accessed.
This commit is contained in:
parent
527984f5e2
commit
87289338f4
1 changed files with 4 additions and 0 deletions
|
@ -88,6 +88,10 @@ manager::manager() :
|
|||
preferences::erase("mp_countdown_action_bonus");
|
||||
}
|
||||
|
||||
// We save the password encrypted now. Erase any saved passwords in the prefs file.
|
||||
preferences::erase("password");
|
||||
preferences::erase("password_is_wrapped");
|
||||
|
||||
/*
|
||||
completed_campaigns = "A,B,C"
|
||||
[completed_campaigns]
|
||||
|
|
Loading…
Add table
Reference in a new issue