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

@@ -5,7 +5,7 @@ APP_NAME := sms-receiver-v2
MAIN_FILE := main.go
# 版本信息
VERSION := v2.0.0
VERSION := v2.0.1
BUILD_TIME := $(shell date +%Y-%m-%d\ %H:%M:%S)
GIT_COMMIT := $(shell git rev-parse --short HEAD 2>/dev/null || echo "unknown")
GO_VERSION := $(shell go version | awk '{print $$3}')