[pve-devel] applied: [PATCH v3 widget-toolkit 1/2] tfa: improve UX for recovery keys and when none are left

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jun 7 18:07:12 CEST 2023


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.bumiller at 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!





More information about the pve-devel mailing list