# 临时禁用登录但保留注册功能？

**URL:** <https://meta.discourse.org/t/temporary-disabling-login-but-with-the-possibility-of-registration/157554>\
**Category:** Support\
**Created:** [2020年七月13日 06:36 UTC](https://meta.discourse.org/t/temporary-disabling-login-but-with-the-possibility-of-registration/157554 "2020-07-13T06:36:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![slivo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/slivo/32/186825_2.png) [@slivo](https://meta.discourse.org/u/slivo)\
**Post date:** [2020年七月13日 06:36 UTC](https://meta.discourse.org/t/temporary-disabling-login-but-with-the-possibility-of-registration/157554/1 "2020-07-13T06:36:01Z")

</div>

我能否阻止所有或部分用户组登录？  
我看到有一个选项可以禁用登录，但这是否也会阻止创建新账户？或者我理解有误？

---

<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:** [2020年七月13日 14:04 UTC](https://meta.discourse.org/t/temporary-disabling-login-but-with-the-possibility-of-registration/157554/2 "2020-07-13T14:04:12Z")

</div>

您希望阻止现有用户登录，但允许未知人员创建新账户吗？

---

<div class="post-metadata">

**Author:** ![slivo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/slivo/32/186825_2.png) [@slivo](https://meta.discourse.org/u/slivo)\
**Post date:** [2020年七月14日 13:45 UTC](https://meta.discourse.org/t/temporary-disabling-login-but-with-the-possibility-of-registration/157554/3 "2020-07-14T13:45:23Z")

</div>

是的，这样他们可以注册，但等到论坛准备好后再使用。

---

<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:** [2020年七月14日 13:49 UTC](https://meta.discourse.org/t/temporary-disabling-login-but-with-the-possibility-of-registration/157554/4 "2020-07-14T13:49:03Z")

</div>

我认为，在这种情况下，我可以将所有类别设置为仅对工作人员可见。这样，他们可以登录，也许只需创建一个“即将推出”的类别。或者，你也可以花一大笔钱开发一个插件，而这个插件你可能永远用不到第二次。
