[pve-devel] [PATCH manager] ui: dc/AuthEditOpenId: remove unnecessary code

Dominik Csapak d.csapak at proxmox.com
Wed Jul 7 13:54:37 CEST 2021


we do not have a 'verify' field here, so the onGetValues override
falsely sent 'delete: verify' on every edit

while our api is ok with that, it's better to remove it

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/dc/AuthEditOpenId.js | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/www/manager6/dc/AuthEditOpenId.js b/www/manager6/dc/AuthEditOpenId.js
index 7ebb9c8f..2dd60d1b 100644
--- a/www/manager6/dc/AuthEditOpenId.js
+++ b/www/manager6/dc/AuthEditOpenId.js
@@ -3,19 +3,6 @@ Ext.define('PVE.panel.OpenIDInputPanel', {
     xtype: 'pveAuthOpenIDPanel',
     mixins: ['Proxmox.Mixin.CBind'],
 
-    onGetValues: function(values) {
-	let me = this;
-
-	if (!values.verify) {
-	    if (!me.isCreate) {
-		Proxmox.Utils.assemble_field_data(values, { 'delete': 'verify' });
-	    }
-	    delete values.verify;
-	}
-
-	return me.callParent([values]);
-    },
-
     columnT: [
 	{
 	    xtype: 'textfield',
-- 
2.30.2






More information about the pve-devel mailing list