diff --git a/app/assets/javascripts/discourse/app/controllers/create-account.js b/app/assets/javascripts/discourse/app/controllers/create-account.js index 57b41f44493..b2e9622923b 100644 --- a/app/assets/javascripts/discourse/app/controllers/create-account.js +++ b/app/assets/javascripts/discourse/app/controllers/create-account.js @@ -237,7 +237,7 @@ export default Controller.extend( "authOptions.email", "authOptions.email_valid" ) - emailValidated() { + emailDisabled() { return ( this.get("authOptions.email") === this.accountEmail && this.get("authOptions.email_valid") diff --git a/app/assets/javascripts/discourse/app/templates/modal/create-account.hbs b/app/assets/javascripts/discourse/app/templates/modal/create-account.hbs index 7cef048619a..846bee341d3 100644 --- a/app/assets/javascripts/discourse/app/templates/modal/create-account.hbs +++ b/app/assets/javascripts/discourse/app/templates/modal/create-account.hbs @@ -15,37 +15,28 @@ {{#if showCreateForm}}