From aab9a26409fd9cab2a1c1f0ded230bbe1bb2794e Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 21 Jan 2021 15:09:22 +0100 Subject: [PATCH] ui: cleanup order of declraing properties Signed-off-by: Thomas Lamprecht --- www/window/AddTfaRecovery.js | 8 ++++---- www/window/AddTotp.js | 8 ++++---- www/window/AddWebauthn.js | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/www/window/AddTfaRecovery.js b/www/window/AddTfaRecovery.js index 009453f0..3b4d286b 100644 --- a/www/window/AddTfaRecovery.js +++ b/www/window/AddTfaRecovery.js @@ -120,11 +120,11 @@ Ext.define('PBS.window.AddTfaRecovery', { }, { xtype: 'textfield', - inputType: 'password', - fieldLabel: gettext('Password'), - minLength: 5, - reference: 'password', name: 'password', + reference: 'password', + fieldLabel: gettext('Verify Password'), + inputType: 'password', + minLength: 5, allowBlank: false, validateBlank: true, cbind: { diff --git a/www/window/AddTotp.js b/www/window/AddTotp.js index 20f26824..5866deb7 100644 --- a/www/window/AddTotp.js +++ b/www/window/AddTotp.js @@ -247,11 +247,11 @@ Ext.define('PBS.window.AddTotp', { }, { xtype: 'textfield', - inputType: 'password', - fieldLabel: gettext('Verify Password'), - minLength: 5, - reference: 'password', name: 'password', + reference: 'password', + fieldLabel: gettext('Verify Password'), + inputType: 'password', + minLength: 5, allowBlank: false, validateBlank: true, cbind: { diff --git a/www/window/AddWebauthn.js b/www/window/AddWebauthn.js index f8883da3..3fb5a01d 100644 --- a/www/window/AddWebauthn.js +++ b/www/window/AddWebauthn.js @@ -178,11 +178,11 @@ Ext.define('PBS.window.AddWebauthn', { }, { xtype: 'textfield', - inputType: 'password', - fieldLabel: gettext('Verify Password'), - minLength: 5, - reference: 'password', name: 'password', + reference: 'password', + fieldLabel: gettext('Verify Password'), + inputType: 'password', + minLength: 5, allowBlank: false, validateBlank: true, cbind: {