# Desative o login manual e permita apenas o login via Discord

**URL:** <https://meta.discourse.org/t/disable-manual-login-and-only-allow-discord-logon/110278>\
**Category:** Product Support\
**Created:** [27 Fevereiro , 2019 20:37 UTC](https://meta.discourse.org/t/disable-manual-login-and-only-allow-discord-logon/110278 "2019-02-27T20:37:52Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![ka0sdev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ka0sdev/32/132296_2.png) [@ka0sdev](https://meta.discourse.org/u/ka0sdev)\
**Post date:** [1 Março , 2019 06:16 UTC](https://meta.discourse.org/t/disable-manual-login-and-only-allow-discord-logon/110278/8 "2019-03-01T06:16:40Z")

</div>

No problem, thanks for your kind help on this 🙂

I have noticed that if I disable any other login and only have the Discord oAuth2 logon when clicking on login it will open a popup with the authentication so it seems like it’s native to Discourse, I could adapt the script you provided to just use the normal login function, so it only changes the button text / icon, that should be fairly easy to to do.

---

_[View the full topic](https://meta.discourse.org/t/disable-manual-login-and-only-allow-discord-logon/110278)._
