Ran prettier to clean up some formatting

Ran prettier to clean up some formatting

Follow up to:

FEATURE: External auth when redeeming invites

diff --git a/app/assets/javascripts/discourse/controllers/invites-show.js.es6 b/app/assets/javascripts/discourse/controllers/invites-show.js.es6
index 701a757..a35f919 100644
--- a/app/assets/javascripts/discourse/controllers/invites-show.js.es6
+++ b/app/assets/javascripts/discourse/controllers/invites-show.js.es6
@@ -64,16 +64,22 @@ export default Ember.Controller.extend(
       "passwordValidation.failed",
       "nameValidation.failed",
       "userFieldsValidation.failed",
-      "inviteEmailAuthValidation.failed",
+      "inviteEmailAuthValidation.failed"
     )
     submitDisabled(
       usernameFailed,
       passwordFailed,
       nameFailed,
       userFieldsFailed,
-      inviteEmailAuthFailed,
+      inviteEmailAuthFailed
     ) {
-      return usernameFailed || passwordFailed || nameFailed || userFieldsFailed || inviteEmailAuthFailed;
+      return (
+        usernameFailed ||
+        passwordFailed ||
+        nameFailed ||
+        userFieldsFailed ||
+        inviteEmailAuthFailed
+      );
     },
 
     @computed
diff --git a/app/assets/javascripts/discourse/mixins/invite-email-auth-validation.js.es6 b/app/assets/javascripts/discourse/mixins/invite-email-auth-validation.js.es6
index 733573d..d6cf80b 100644
--- a/app/assets/javascripts/discourse/mixins/invite-email-auth-validation.js.es6
+++ b/app/assets/javascripts/discourse/mixins/invite-email-auth-validation.js.es6
@@ -8,13 +8,18 @@ export default Ember.Mixin.create({
   },
 
   // Validate the name.
-  @computed("accountEmail", "authOptions.email", "authOptions.email_valid", "authOptions.auth_provider")
+  @computed(
+    "accountEmail",
+    "authOptions.email",
+    "authOptions.email_valid",
+    "authOptions.auth_provider"
+  )
   inviteEmailAuthValidation() {
     if (
       !this.siteSettings.enable_invite_only_oauth ||
       (this.siteSettings.enable_invite_only_oauth &&
-      this.get("authOptions.email") === this.email &&
-      this.get("authOptions.email_valid"))
+        this.get("authOptions.email") === this.email &&
+        this.get("authOptions.email_valid"))
     ) {
       return InputValidation.create({
         ok: true,

GitHub sha: d7c73ded

1 Like