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() {
|
loginTFA: function() {
|
||||||
let me = this;
|
let me = this;
|
||||||
|
// avoid triggering more than once during challenge
|
||||||
|
me.getViewModel().set('canConfirm', false);
|
||||||
let view = me.getView();
|
let view = me.getView();
|
||||||
let tfaPanel = view.down('tabpanel').getActiveTab();
|
let tfaPanel = view.down('tabpanel').getActiveTab();
|
||||||
me[tfaPanel.handler]();
|
me[tfaPanel.handler]();
|
||||||
|
Loading…
Reference in New Issue
Block a user