ui: tfa: disable confirm during handling of challenge
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
44915932d5
commit
8c8f7b5a09
@ -437,6 +437,8 @@ Ext.define('PBS.login.TfaWindow', {
|
||||
|
||||
loginTFA: function() {
|
||||
let me = this;
|
||||
// avoid triggering more than once during challenge
|
||||
me.getViewModel().set('canConfirm', false);
|
||||
let view = me.getView();
|
||||
let tfaPanel = view.down('tabpanel').getActiveTab();
|
||||
me[tfaPanel.handler]();
|
||||
|
Loading…
Reference in New Issue
Block a user