[pve-devel] [PATCH manager 1/2] ui: TFAEdit: use 'v2' secret format

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Oct 28 12:20:41 CET 2019


Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
Introduces a pve-access-control dependency bump.

 www/manager6/dc/TFAEdit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/dc/TFAEdit.js b/www/manager6/dc/TFAEdit.js
index e1c3b658..7d19127d 100644
--- a/www/manager6/dc/TFAEdit.js
+++ b/www/manager6/dc/TFAEdit.js
@@ -233,7 +233,7 @@ Ext.define('PVE.window.TFAEdit', {
 	    var params = {
 		userid: me.getView().userid,
 		action: 'new',
-		key: values.secret,
+		key: 'v2-' + values.secret,
 		config: PVE.Parser.printPropertyString({
 		    type: 'oath',
 		    digits: values.digits,
-- 
2.20.1





More information about the pve-devel mailing list