# 无法切换账户——“登录”会自动进入上一个账户

**URL:** https://meta.discourse.org/t/unable-to-switch-accounts-sign-in-automatically-logs-into-the-previous-account/409100
**Category:** Support
**Tags:** accessibility
**Created:** [2026年八月2日 21:38 UTC](https://meta.discourse.org/t/unable-to-switch-accounts-sign-in-automatically-logs-into-the-previous-account/409100 "2026-08-02T21:38:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![FlowCaffe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/flowcaffe/32/572721_2.png) [@FlowCaffe](https://meta.discourse.org/u/FlowCaffe)
#### Post date: [2026年八月2日 21:38 UTC](https://meta.discourse.org/t/unable-to-switch-accounts-sign-in-automatically-logs-into-the-previous-account/409100/1 "2026-08-02T21:38:42Z")

</div>

大家好，

我们基于 Discourse 平台构建了名为 FlowCaffe 的网站。

我使用 Gmail 账号注册，该账号为管理员账号。

为了查看普通用户看到的网站效果，我退出了账号，并使用我的 Yahoo 邮箱创建了第二个 FlowCaffe 账号，奇怪的是没有生成密码。新账号工作正常。然而，我现在无法在 Chrome 中重新登录我的管理员账号。

每当我点击“登录”时，FlowCaffe 会自动将我登录到普通的 Yahoo 账号，而不提供选择其他账号或输入 Gmail 凭据的选项。退出并再次尝试也无法解决问题。

目前，我找到的唯一解决方法是退出 Chrome 并使用 Safari，在那里我可以登录我的 Gmail 管理员账号。

有没有办法在同一浏览器中切换账号？

谢谢！

FlowCaffe

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2026年八月3日 09:06 UTC](https://meta.discourse.org/t/unable-to-switch-accounts-sign-in-automatically-logs-into-the-previous-account/409100/2 "2026-08-03T09:06:19Z")

</div>

我明白了。你正在使用 Discourse ID 作为身份验证器，因此你需要先退出该网站的登录，才能以其他用户身份登录。我记得之前见过一个关于此问题的讨论帖。

最简单的方法是通过管理员用户页面点击对应账号来模拟该用户。

因此，请访问 [https://id.discourse.com/](https://id.discourse.com/) 并点击菜单在那里退出登录

---

<div class="post-metadata">

### Author: ![FlowCaffe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/flowcaffe/32/572721_2.png) [@FlowCaffe](https://meta.discourse.org/u/FlowCaffe)
#### Post date: [2026年八月3日 16:21 UTC](https://meta.discourse.org/t/unable-to-switch-accounts-sign-in-automatically-logs-into-the-previous-account/409100/3 "2026-08-03T16:21:10Z")

</div>

谢谢！成功了！我还尝试了删除浏览数据，也成功了。
