perf: 优化用户管理模块部分接口逻辑

This commit is contained in:
insistence
2024-07-16 15:15:43 +08:00
parent 42269f78c3
commit 6734df119a
3 changed files with 6 additions and 12 deletions

View File

@@ -303,7 +303,7 @@ async def reset_system_user_password(
reset_user = ResetUserModel(
userId=current_user.user.user_id,
oldPassword=reset_password.old_password,
password=PwdUtil.get_password_hash(reset_password.new_password),
password=reset_password.new_password,
updateBy=current_user.user.user_name,
updateTime=datetime.now(),
)