diff --git a/app/assets/javascripts/discourse/app/controllers/create-account.js b/app/assets/javascripts/discourse/app/controllers/create-account.js index fce8b5e08a3..588826f6bc2 100644 --- a/app/assets/javascripts/discourse/app/controllers/create-account.js +++ b/app/assets/javascripts/discourse/app/controllers/create-account.js @@ -99,14 +99,6 @@ export default Controller.extend( return authOptions && !canEditName; }, - @discourseComputed - fullnameRequired() { - return ( - this.get("siteSettings.full_name_required") || - this.get("siteSettings.enable_names") - ); - }, - @discourseComputed("authOptions.auth_provider") passwordRequired(authProvider) { return isEmpty(authProvider); 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 a353fb0f889..b672ef964ed 100644 --- a/app/assets/javascripts/discourse/app/templates/modal/create-account.hbs +++ b/app/assets/javascripts/discourse/app/templates/modal/create-account.hbs @@ -17,7 +17,14 @@
+ | + + | {{#if emailValidated}} {{accountEmail}} @@ -34,7 +41,14 @@ | |
+ | + + | {{#if usernameDisabled}} {{accountUsername}} @@ -49,10 +63,17 @@ | |
- + | {{#if nameDisabled}} @@ -83,7 +104,14 @@ {{#if passwordRequired}} | ||
+ | + + | {{password-field value=accountPassword type="password" id="new-account-password" capsLockOn=capsLockOn}} | diff --git a/app/assets/stylesheets/common/base/user.scss b/app/assets/stylesheets/common/base/user.scss index 24a318e2fbe..272ce23aadd 100644 --- a/app/assets/stylesheets/common/base/user.scss +++ b/app/assets/stylesheets/common/base/user.scss @@ -339,6 +339,7 @@ } } +.login-form, .user-field { .required { vertical-align: top;