# How to restrict account changes when authenticating with Google?

**URL:** <https://meta.discourse.org/t/how-to-restrict-account-changes-when-authenticating-with-google/42458>\
**Category:** SSO\
**Created:** [April 12, 2016, 4:02pm UTC](https://meta.discourse.org/t/how-to-restrict-account-changes-when-authenticating-with-google/42458 "2016-04-12T16:02:41Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)\
**Post date:** [April 13, 2016, 12:21pm UTC](https://meta.discourse.org/t/how-to-restrict-account-changes-when-authenticating-with-google/42458/6 "2016-04-13T12:21:31Z")

</div>

There is not a perfect solution here, you could:

- Use `nth-child` CSS to get the the elements you want to hide
- Override the `discourse/templates/modal/create-account.hbs` template and mark the fields with “`readonly`”.
- Reopen the Create Account class and change the JavaScript to more suit your needs,

None of which seem appealing to me.

I’m sure someone else has a better idea.

---

_[View the full topic](https://meta.discourse.org/t/how-to-restrict-account-changes-when-authenticating-with-google/42458)._
