Implement 2 additional crypto methods for Steam password

Inspiration by @legendofmiracles
This commit is contained in:
Archi
2021-11-23 21:50:33 +01:00
parent b030755eb6
commit e68210cf2e
4 changed files with 97 additions and 50 deletions

View File

@@ -125,7 +125,7 @@ public sealed class BotController : ArchiController {
}
if (!request.BotConfig.IsSteamPasswordSet && bot.BotConfig.IsSteamPasswordSet) {
request.BotConfig.DecryptedSteamPassword = bot.BotConfig.DecryptedSteamPassword;
request.BotConfig.SetDecryptedSteamPassword(await bot.BotConfig.GetDecryptedSteamPassword().ConfigureAwait(false));
}
if (!request.BotConfig.IsSteamParentalCodeSet && bot.BotConfig.IsSteamParentalCodeSet) {