diff --git a/apps/authentication/templates/authentication/xpack_login.html b/apps/authentication/templates/authentication/xpack_login.html index 4c1c46938..cc9d4c38b 100644 --- a/apps/authentication/templates/authentication/xpack_login.html +++ b/apps/authentication/templates/authentication/xpack_login.html @@ -156,7 +156,7 @@ var rsaPublicKey = "{{ rsa_public_key }}"; var password =$('#password').val(); var passwordEncrypted = encryptLoginPassword(password, rsaPublicKey); - var serialize_array = $('#form').serializeArray(); + var serialize_array = $('#contact-form').serializeArray(); $.each(serialize_array, function(index,obj){ if(obj.name=='password'){ obj.value=passwordEncrypted}; @@ -174,7 +174,7 @@ }, }); }; - } +