ui: tfa: only immediately trigger webAuthn when its the initial tab
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
74a50158ca
commit
a11c8ab485
@ -306,7 +306,7 @@ Ext.define('PBS.login.TfaWindow', {
|
||||
}
|
||||
}
|
||||
|
||||
if (challenge.webauthn) {
|
||||
if (challenge.webauthn && initialTab === 0) {
|
||||
let _promise = me.loginWebauthn();
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user