# 每次都要求输入两次新密码

**URL:** https://meta.discourse.org/t/always-ask-for-new-password-twice/299888
**Category:** UX
**Created:** [2024年三月18日 23:12 UTC](https://meta.discourse.org/t/always-ask-for-new-password-twice/299888 "2024-03-18T23:12:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jidanni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidanni/32/291938_2.png) [@jidanni](https://meta.discourse.org/u/jidanni)
#### Post date: [2024年三月18日 23:12 UTC](https://meta.discourse.org/t/always-ask-for-new-password-twice/299888/1 "2024-03-18T23:12:30Z")

</div>

今天在一个 Discourse 站点上，我使用重置密码对话框。

它只要求输入一次新密码。

但如果你输错了，嗯，下次你肯定会知道的！

更明智的做法是始终要求用户确认其新密码。

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [2024年三月19日 00:12 UTC](https://meta.discourse.org/t/always-ask-for-new-password-twice/299888/2 "2024-03-19T00:12:12Z")

</div>

我不同意；必须输入两次密码是一种糟糕的反模式，是人们在多个网站上使用相同密码的遗留问题。

我很高兴看到它被淘汰。

如今，人们[应该]使用密码管理器，因为它会为每个帐户创建并保存特定于站点的密码。

还要考虑密码管理器未检测到第二个密码字段时带来的麻烦，您必须费尽周折才能获取并粘贴它。太麻烦了！

如果有人_ **确实** _仍然手动输入密码并且_ **确实** _输错了，那么解决方法很简单，而且几乎不费时——通过电子邮件重置。

---

<div class="post-metadata">

### Author: ![jidanni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jidanni/32/291938_2.png) [@jidanni](https://meta.discourse.org/u/jidanni)
#### Post date: [2024年三月20日 11:27 UTC](https://meta.discourse.org/t/always-ask-for-new-password-twice/299888/3 "2024-03-20T11:27:17Z")

</div>

这与在不同网站上使用相同密码无关。

我的密码管理器甚至无法检测到第一个密码字段。

> [@Bitwarden doesn't ask to save Discourse passwords](https://meta.discourse.org/t/bitwarden-doesnt-ask-to-save-discourse-passwords/293746/):
>
> Today I created an account on an average Discourse site, Chrome asked me if I wanted to save the password I made. But Bitwarden didn’t. Sure, you might say, “That’s tough luck. Go take it up with the Bitwarden people, it’s their problem not Discourse’s.” Yes, but wouldn’t you want Discourse’s readers to have their passwords remembered better? So perhaps somebody could go check out what’s so fancy about the HTML forms that they evade the detection methods of Bitwarden. And not “fix” those…

> 通过电子邮件重置。

有一天，当有人在更改电子邮件帐户本身的密码时，或更改密码管理器程序的密码时，输错了那个唯一的、新设置的密码，那么将没有地方发送救援电子邮件，届时就只能“地面控制呼叫汤姆少校”了……

> **[Space Oddity | Lyrics](https://en.wikipedia.org/wiki/Space_Oddity#Lyrics)**
>
> "Space Oddity" tells the story of an astronaut named Major Tom, the first of Bowie's famous characters. Major Tom is informed by Ground Control that a malfunction has occurred in his spacecraft; but the astronaut does not get the message. He remains in space "sitting in a tin can, far above the world", preparing for his lonely death. In 1969, Bowie compared Major Tom's fate to the ending of 2001: A Space Odyssey, saying: "At the end of the song Major Tom is completely emotionless Bowie's biograp...

（Gmail 用户可能需要在谷歌总部外搭个帐篷。）

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2024年三月20日 12:38 UTC](https://meta.discourse.org/t/always-ask-for-new-password-twice/299888/4 "2024-03-20T12:38:39Z")

</div>

> [@jidanni](#):
>
> 而且有一天，当有人在自己的电子邮件帐户中误输入了唯一的那个新密码时，

恐怕我们无法影响人们的电子邮件提供商使用什么密码流程。 🤷 您可能需要与他们每个人联系。

---

<div class="post-metadata">

### Author: ![denvergeeks](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denvergeeks/32/327671_2.png) [@denvergeeks](https://meta.discourse.org/u/denvergeeks)
#### Post date: [2024年三月20日 13:26 UTC](https://meta.discourse.org/t/always-ask-for-new-password-twice/299888/6 "2024-03-20T13:26:35Z")

</div>

我理解你的感受，兄弟，我同意 Discourse 是个特例。我想不出其他网站在（创建账户时）不要求我输入两次密码的登录方式了。

Discourse 的优点和缺点在于它倾向于拥抱未来，并帮助我们其他人一起前进！
