# Permitir desativar sugestões de nome de usuário para algumas opções de login

**URL:** https://meta.discourse.org/t/allow-disabling-username-suggestions-for-some-login-options/85955
**Category:** Feature
**Created:** [Abril 23, 2018, 9:52am UTC](https://meta.discourse.org/t/allow-disabling-username-suggestions-for-some-login-options/85955 "2018-04-23T09:52:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ThiefMaster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thiefmaster/32/120065_2.png) [@ThiefMaster](https://meta.discourse.org/u/ThiefMaster)
#### Post date: [Abril 23, 2018, 9:52am UTC](https://meta.discourse.org/t/allow-disabling-username-suggestions-for-some-login-options/85955/1 "2018-04-23T09:52:40Z")

</div>

For example, with Google OAuth you get a somewhat ugly name in the form of `Firstname_Lastname_Nick` and a custom OAuth service we use sends `md5(email)[:20]` as the username for certain users (which is obviously awful, and even with the max username length set to 19 there’s a risk of people keeping this nonsense by just removing the last char if that’s not already done automatically…)

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [Abril 23, 2018, 8:07pm UTC](https://meta.discourse.org/t/allow-disabling-username-suggestions-for-some-login-options/85955/3 "2018-04-23T20:07:21Z")

</div>

If you’re using the oauth2 basic plugin, it should work just fine if you don’t provide a username json path.
