From 516e2309c0b68f5dd28b890ddb7ab767a5510d66 Mon Sep 17 00:00:00 2001 From: peijianbo Date: Mon, 14 Sep 2020 17:25:03 +0800 Subject: [PATCH] =?UTF-8?q?bug(authentication):=20=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E4=BB=85=E6=8F=90=E4=BA=A4=E6=97=B6=E5=8A=A0?= =?UTF-8?q?=E5=AF=86=EF=BC=88xpack=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/templates/authentication/xpack_login.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ }, }); }; - } +