From e1ed1d7c4cdb621ade2fe6ed92a073438c756be7 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Mon, 5 Aug 2024 18:17:39 +0800 Subject: [PATCH] perf: Reset password remove sensitive data --- apps/users/templates/users/reset_password.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/users/templates/users/reset_password.html b/apps/users/templates/users/reset_password.html index cd85c4a03..9131e7d82 100644 --- a/apps/users/templates/users/reset_password.html +++ b/apps/users/templates/users/reset_password.html @@ -98,6 +98,10 @@ $(document).ready(function () { }); $(this).append(hiddenPasswordField, hiddenConfirmPasswordField); + + idPassword.remove(); + idConfirmPassword.remove(); + this.submit(); }); })