Files
MemRelay/projects/25464650-ed5d-440e-b362-190f2852d451/Checkpoint 2026-09-30 02-43-38 UTC [9ac444b253].md
T
memrelay 2dd4d20aab create: Checkpoint 2026-09-30 02:43:38 UTC [9ac444b253]
MemRelay-Operation: checkpoint-save:fix-issue-1-admin-lock-20260930-1045
MemRelay-Resource: 9927b9f5-7b95-4e26-bdb0-39985e532384
2026-09-30 10:43:56 +08:00

39 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-09-30 02:43:38 UTC [9ac444b253]
type: checkpoint
permalink: main/projects/25464650-ed5d-440e-b362-190f2852d451/checkpoint-2026-09-30-02-43-38-utc-9ac444b253
stable_id: 9927b9f5-7b95-4e26-bdb0-39985e532384
scope: project
memory_type: checkpoint
project_id: 25464650-ed5d-440e-b362-190f2852d451
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: fix-issue-1-admin-lock-20260930-1045
created_at: '2026-09-30T02:43:38.317549+00:00'
updated_at: '2026-09-30T02:43:38.317549+00:00'
tags:
- ready-to-merge
- fix-1
- feat/fix-1-admin-lock
---
# 检查点:fix issue #1 ready-to-merge
## 线 / 任务
- 修复 Gitea issue #1(管理员登录 IP 锁定阻断已认证 Cookie/API 令牌)
- 分支:`feat/fix-1-admin-lock`
- 提交:`8b4da3dc0516fe9415ddfa6d6190d3b71ad3dac8`
- 工作树:`e:\\code\\NixMsg-wt\\fix1`(勿改主工作区)
- 基线:`origin/main` = `479a08e`
## 完成
- 去掉 `auth()` 鉴权前的 `Check(LockAdminIP)`;登录入口与错误令牌 `authFail` 仍计入锁定
- 测试:`TestAdminLockDoesNotBlockAuthedSession`;`go test ./internal/admin/ ./internal/auth/` 通过
- DEVIATIONS 追加 `### fix-issue-1`
- 已 `git push -u origin feat/fix-1-admin-lock`;**未合并 main、未关 issue**
## 给总控
- 可 ff-only 合并该分支;合并后统一跑 `task check`
- 勿强推 main