# How to disable default registration and only allow third party logins?

**URL:** https://meta.discourse.org/t/how-to-disable-default-registration-and-only-allow-third-party-logins/112041
**Category:** Support
**Created:** [March 19, 2019, 12:50pm UTC](https://meta.discourse.org/t/how-to-disable-default-registration-and-only-allow-third-party-logins/112041 "2019-03-19T12:50:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Lee533](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lee533/32/134468_2.png) [@Lee533](https://meta.discourse.org/u/Lee533)
#### Post date: [March 19, 2019, 12:50pm UTC](https://meta.discourse.org/t/how-to-disable-default-registration-and-only-allow-third-party-logins/112041/1 "2019-03-19T12:50:52Z")

</div>

I’m from Mainland China. Because of the 互联网论坛社区服务管理规定, I just want to the users who can connect Google to registration my forum(they can’t use email to registration the forum directly). So, the question is: how can I do that?

Thanks.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [March 19, 2019, 12:59pm UTC](https://meta.discourse.org/t/how-to-disable-default-registration-and-only-allow-third-party-logins/112041/2 "2019-03-19T12:59:21Z")

</div>

You can disable the “enable local logins” option, which will force users to use other enabled login methods.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 18, 2019, 12:59pm UTC](https://meta.discourse.org/t/how-to-disable-default-registration-and-only-allow-third-party-logins/112041/3 "2019-04-18T12:59:26Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
