From 4cf32543aa6f4e2c7432ddd143d3039553a7a3f7 Mon Sep 17 00:00:00 2001 From: FraV1982 Date: Sat, 27 Apr 2024 17:09:34 +0200 Subject: [PATCH] Update step_admin_setup.js Signed-off-by: FraV1982 --- install/js/step_admin_setup.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install/js/step_admin_setup.js b/install/js/step_admin_setup.js index bbfcf9558df..8184336c323 100644 --- a/install/js/step_admin_setup.js +++ b/install/js/step_admin_setup.js @@ -47,7 +47,7 @@ require(['config'], function() { $('form').bind('submit', function() { var check = { - password: install.getData('superuser_password1') + password: install.getData('superuser_password') }; install.сheckPasswordСonformity(check, function(status, data) { @@ -58,7 +58,7 @@ require(['config'], function() { install.setTemplate('step_licenses'); } } else { - var msg = 'Check you password please'; + var msg = 'Check your password please'; if (data && data.value.message) { msg += "\n\n" + data.value.message; } @@ -132,7 +132,7 @@ require(['config'], function() { validify(this); break; - case 'superuser_password1': + case 'superuser_password': install.getValidator(this, { dataType: 'string', min: 4 @@ -144,7 +144,7 @@ require(['config'], function() { install.getValidator(this, { dataType: 'string', min: 4, - sameAs: 'superuser_password1' + sameAs: 'superuser_password' }); validify(this); break;