fix(identity): staging fixed-code sign-in skips the first-password step (BUG-1152)
On the staging test-OTP channel, 验证码登录 with a fresh mailbox no longer stops at 设置登录密码; it records consent and enters the app. 注册账号 still sets a password, second factor still comes first, and production (no IDENTITY_TEST_OTP) is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N4f2nya58RoRu4yEmJgRGE
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
279650a684
commit
2d620fb4ad
@@ -0,0 +1,14 @@
|
||||
# staging 固定验证码登录跳过设置密码 · 真机清单(2026-10-01)
|
||||
|
||||
前提:staging 已部署含 BUG-1152 的提交(`/api/health` 的 `deployment.gitCommit` 与之一致)。用一个从没在 staging 登录过的邮箱(可以虚构,不会真的发邮件)。
|
||||
|
||||
1. 打开 `https://staging.jyotisha.chat/login`,停在「验证码登录」,勾选协议,填新邮箱,点「发送验证码」。
|
||||
- 预期:顶部浮层写「测试环境:验证码固定为 xxxxxx,不会发送真实邮件。」
|
||||
2. 输入浮层里的验证码,提交。
|
||||
- 预期:直接进入首页;**不出现**「设置登录密码」。
|
||||
3. 退出登录,再用同一邮箱走一遍第 1–2 步。
|
||||
- 预期:同样直接进入首页。
|
||||
4. 退出登录,点「注册账号」,换另一个新邮箱,发送验证码并输入固定码。
|
||||
- 预期:出现「设置密码 / 确认密码」,这是有意保留的。
|
||||
5. 生产 `https://jyotisha.chat/login`(只看不登录):
|
||||
- 预期:发送验证码后的提示是「验证码已发送至 …」,不是固定码提示。
|
||||
Reference in New Issue
Block a user