How to restrict account changes when authenticating with Google?

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.