mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-20 20:39:55 +00:00
feat: 更新项目名称和配置,优化任务管理和字典功能
refactor(backend): 重命名任务分组为任务存储器并更新相关数据 fix(backend): 修正用户服务中密码重置的参数名错误 feat(frontend): 添加字典数据清理功能并在用户登出时调用 style(frontend): 简化加载页面样式并更新favicon feat(frontend): 实现动态设置页面标题和图标功能 feat(frontend): 增强角色和用户管理界面的操作限制 feat(frontend): 优化任务管理界面,使用字典数据展示选项 refactor(frontend): 改进字典存储模块,增加数据校验和过滤
This commit is contained in:
@@ -258,7 +258,7 @@ class UserService:
|
||||
raise CustomException(msg="用户不存在")
|
||||
|
||||
# 更新密码
|
||||
new_password_hash = PwdUtil.set_password_hash(password=data.new_password)
|
||||
new_password_hash = PwdUtil.set_password_hash(password=data.password)
|
||||
new_user = await UserCRUD(auth).change_password_crud(id=user.id, password_hash=new_password_hash)
|
||||
return UserOutSchema.model_validate(new_user).model_dump()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user