From bd768c33205f6c7e5d51fc3cfcf7b2b82450f0cb Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 1 Feb 2021 15:39:56 +0100 Subject: [PATCH] ui: tfa: adapt low recovery key hint, drop unused other hint Signed-off-by: Thomas Lamprecht --- www/LoginView.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/www/LoginView.js b/www/LoginView.js index 4d26d2d6..f7380339 100644 --- a/www/LoginView.js +++ b/www/LoginView.js @@ -553,18 +553,12 @@ Ext.define('PBS.login.TfaWindow', { regex: /^[0-9a-f]{4}(-[0-9a-f]{4}){3}$/, regexText: 'Does not looks like a valid recovery key', }, - { - xtype: 'box', - reference: 'recoveryInfo', - hidden: true, // FIXME: remove this? - html: gettext('Note that each recovery code can only be used once!'), - }, { xtype: 'box', reference: 'recoveryLow', hidden: true, html: '' - + gettext('Less than {0} recovery keys available. Please generate a new set!'), + + gettext('Less than {0} recovery keys available. Please generate a new set after login!'), }, ], },