chore: drop design-doc citations from code comments (English-only sweep) (#236)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Yaowei ZhengandClaude Fable 5 authored and GitHub committed 2026-08-07 19:02:48 +08:00
1 parent 0cc0bd1a1a
commit 169c7d5006
16 files changed
+21 -26

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ export function meRoutes(deps: AppDeps): Hono<AppEnv> {
// Self-service password change (user settings): validates the old password; on success, the initial-password prompt disappears from GET /api/me.
// Desktop sessions may omit oldPassword: the seed password of a desktop-created root is
// random and never shown, so its holder has nothing to type — the shell's redeemed
// token already proved machine ownership (see design § "桌面端原型 · 桌面登录").
// token already proved machine ownership.
app.put("/password", async (c) => {
const body = await readJson(c);
const newPassword = requireString(body, "newPassword", { label: "newPassword" });