mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-03 01:40:21 +08:00
feat: LDAP 用户隐藏密码修改功能并应用默认配额
- /me API 返回 auth_source 字段 - 前端 Settings 页面对 LDAP 用户隐藏密码修改卡片 - LDAP 用户首次登录创建时使用系统默认配额 Close #98
This commit is contained in:
@@ -536,6 +536,7 @@ class AuthCurrentUserAdapter(AuthenticatedApiAdapter):
|
||||
"allowed_models": user.allowed_models,
|
||||
"created_at": user.created_at.isoformat(),
|
||||
"last_login_at": user.last_login_at.isoformat() if user.last_login_at else None,
|
||||
"auth_source": user.auth_source.value,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user