ReOTP.
实时示例/更改密码或电子邮件
1 阅读需1分钟

更改密码或电子邮件

保护敏感数据的额外确认

概述

当更改密码或电子邮箱时,需要通过 ReOTP 进行确认以保护账户。

如何实现

1. 页面 /settings/security:当前密码 + 新密码 + 确认密码。

2. 验证当前密码后:调用 /api/verify/init (PREDICTIVE)。

3. 状态为 VERIFIED 时:更新密码 (bcrypt) + 审计日志 + 通知。

UI 与 UX 指南

  • 玫瑰色 (rose) + 锌色 (zinc)。
  • 密码强度指示器。
交互式演示环境
WhatsApp 连接平台
更改密码或电子邮箱form1/3
Security Settings

When changing the password or email, ReOTP confirmation is required to protect the account.