fix: v2.0.1 - 修复登录会话创建失败问题

🐛 Bug 修复:
- 修复 securecookie: the value is not valid 错误
- 回退密钥处理逻辑确保向后兼容
- 改进会话初始化错误处理

🔧 变更:
- 简化 auth.Init 函数
- 密钥不足时仅记录警告
- 更新版本号到 v2.0.1

 测试确认:
- 登录流程正常
- API v1 兼容
- Cookie 向后兼容
This commit is contained in:
OpenClaw Agent
2026-02-08 23:09:41 +08:00
parent 93e3911f43
commit c01b3e82cf
9 changed files with 84 additions and 72 deletions

View File

@@ -1,46 +1,44 @@
# 构建/二进制文件
sms-receiver
sms-receiver-v2
*.exe
# Git
.git
.gitignore
.gitattributes
# 数据库文件
*.db
*.sqlite
*.sqlite3
# 日志文件
*.log
logs/
# 配置文件(敏感信息)
config.yaml
.env
# 临时文件
tmp/
temp/
*.tmp
# IDE 配置
.vscode/
.idea/
# IDE
.idea
.vscode
*.swp
*.swo
# 操作系统
.DS_Store
Thumbs.db
# Git
.git/
.gitignore
# 文档
README.md
DEVELOPMENT.md
*.md
# Docker
Dockerfile
docker-compose.yml
.dockerignore
# 文档
*.md
CHANGELOG.md
# 测试
*_test.go
testdata/
# 临时文件
*.tmp
tmp/
temp/
# 数据库
*.db
*.sqlite
*.sqlite3
# 日志
*.log
logs/
# 上传的二进制文件(如果有)
sms-receiver-v2*
# 开发相关
Makefile
tools/