ui: tfa/recovery: disallow to close key info window with ESC

to avoid accidental closing it

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-01-18 10:44:37 +01:00
parent 3189d05134
commit 854319d88c

View File

@ -139,6 +139,7 @@ Ext.define('PBS.window.TfaRecoveryShow', {
modal: true, modal: true,
resizable: false, resizable: false,
title: gettext('Recovery Keys'), title: gettext('Recovery Keys'),
onEsc: Ext.emptyFn,
items: [ items: [
{ {