Am 06/06/2023 um 12:03 schrieb Wolfgang Bumiller: > If we get an empty challenge, tell the user to contact an > administrator as it means no 2nd factors and no recovery > keys are available. > > Currently if only 1 key was available and it had a high ID, > we'd show something like: "Recovery keys available: 9, > Warning, less than 4 keys available." > Let's start off with the warning, and then be explicit about > the IDs. > > Signed-off-by: Wolfgang Bumiller <w.bumil...@proxmox.com> > --- > changes since v2: > - fix wrong tfa type comparison > - hide recovery input field when no recovery keys are left > > src/window/TfaWindow.js | 75 ++++++++++++++++++++++++++++++++--------- > 1 file changed, 59 insertions(+), 16 deletions(-) > >
applied, thanks! _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel