JustArchiNET / ASF-ui

The official web interface for ASF
Apache License 2.0
263 stars 38 forks source link

ASF-ui shows the wrong password format #1651

Open kevyndev opened 10 months ago

kevyndev commented 10 months ago

Checklist

ASF version

Latest stable release

ASF-ui version

c582499

Bug description

Using the ProtectedDataForCurrentUser, i have noticed that in the ASF-ui config tab, it's showing PlainText

image

Expected behavior

I expected that it's show the current password format

Actual behavior

It's always showing the Plain Text password format

Changing to ProtectedDataForCurrentUser the window below is shown

image

Steps to reproduce

  1. Setup an account
  2. Change the Password Format
  3. In ASF-ui the Password Format field shoud show Plaintext

Possible reason/solution

No response

Can you help us with this bug report?

Somehow, I can test and offer feedback, but can't code

Global ASF.json config file

{
  "IPCPassword": "***",
  "IPCPasswordFormat": 1,
  "SteamOwnerID": ***
}

BotName.json config of all affected bot instances

{
  "Enabled": true,
  "HoursUntilCardDrops": 0,
  "PasswordFormat": 2,
  "SendOnFarmingFinished": true,
  "SteamLogin": "***",
  "SteamPassword": "***",
  "SteamTradeToken": "***",
  "SteamUserPermissions": {
    "***": 3
  }
}

Additional info

No response