移除管理员数据库模型,改为通过配置管理管理员身份和认证逻辑,并更新相关逻辑和文档

This commit is contained in:
2026-01-14 18:12:54 +08:00
parent 8aa0988ab8
commit 903d5b865e
5 changed files with 32 additions and 40 deletions

View File

@@ -1,7 +1,7 @@
site:
name: 文件暂存柜
description: 临时文件中转服务
logo: "https://www.hxuanyu.com/upload/favicon.png"
logo: https://www.hxuanyu.com/upload/favicon.png
security:
admin_password_hash: $2a$10$Bm0TEmU4uj.bVHYiIPFBheUkcdg6XHpsanLvmpoAtgU1UnKbo9.vy
pickup_code_length: 6
@@ -15,7 +15,7 @@ upload:
storage:
type: local
local:
path: storage_data_test
path: storage_data
webdav:
url: https://dav.example.com
username: user