gui: enumerate recovery keys and list in 2nd factor window
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
ca1060862e
commit
8ae6d28cd4
@ -24,7 +24,12 @@ Ext.define('PBS.window.AddTfaRecovery', {
|
||||
return;
|
||||
}
|
||||
|
||||
let values = response.result.data.recovery.join("\n");
|
||||
let values = response
|
||||
.result
|
||||
.data
|
||||
.recovery
|
||||
.map((v, i) => `${i}: ${v}`)
|
||||
.join("\n");
|
||||
Ext.create('PBS.window.TfaRecoveryShow', {
|
||||
autoShow: true,
|
||||
userid: this.getViewModel().get('userid'),
|
||||
|
Reference in New Issue
Block a user