# 隐藏创建账户表单中的全名字段

**URL:** <https://meta.discourse.org/t/hide-the-full-name-field-in-the-create-account-form/232207>\
**Category:** Development\
**Created:** [2022 年7 月 7 日 14:05 UTC](https://meta.discourse.org/t/hide-the-full-name-field-in-the-create-account-form/232207 "2022-07-07T14:05:55Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

作者： ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
发布日期： [2022 年7 月 13 日 10:52 UTC](https://meta.discourse.org/t/hide-the-full-name-field-in-the-create-account-form/232207/9 "2022-07-13T10:52:11Z")

</div>

关于这个，我们通过私信进行了一些来回讨论，但最终在创建账户模态框中添加了类。 🥳 🎈

> <https://github.com/discourse/discourse/pull/17435>
>
> This will follow the same pattern that was used for the associate-link and email… input-group elements.
> 
> It also adds a class to the create-account-form element that highlights which auth provider is used if any.
> 
> \<img width="912" alt="Screen Shot 2022-07-11 at 3 02 46 PM" src="https://user-images.githubusercontent.com/22733864/178367393-69fe97e3-b772-44e2-8c2d-2243881da685.png"\>
> 
> If no auth provider is used, no class is added.

---

_[View the full topic](https://meta.discourse.org/t/hide-the-full-name-field-in-the-create-account-form/232207)._
