From 4470052c3b6bdeb18e45987f8aa293d1e93d0552 Mon Sep 17 00:00:00 2001
From: Ludc <2870569285@qq.com>
Date: 星期二, 18 十一月 2025 11:59:12 +0800
Subject: [PATCH] 所有文件上传接口增加文件安全校验逻辑。
---
Source/UBCS-WEB/src/views/system/userinfo.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/system/userinfo.vue b/Source/UBCS-WEB/src/views/system/userinfo.vue
index 1a87d09..b1a45ae 100644
--- a/Source/UBCS-WEB/src/views/system/userinfo.vue
+++ b/Source/UBCS-WEB/src/views/system/userinfo.vue
@@ -32,7 +32,7 @@
updateInfo(form).then(res => {
if (res.data.success) {
if( form.oldPassword != undefined || form.newPassword1 != undefined || form.newPassword != undefined){
- updatePassword(form.oldPassword, form.newPassword, form.newPassword1).then(res => {
+ updatePassword(md5(form.oldPassword), form.newPassword, form.newPassword1).then(res => {
if (res.data.success) {
this.$message({
type: "success",
--
Gitblit v1.10.0