about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/state/models/ui/create-account.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/models/ui/create-account.ts b/src/state/models/ui/create-account.ts
index d595b200b..9f11a9b31 100644
--- a/src/state/models/ui/create-account.ts
+++ b/src/state/models/ui/create-account.ts
@@ -116,7 +116,7 @@ export class CreateAccountModel {
         email: this.email,
         handle: createFullHandle(this.handle, this.userDomain),
         password: this.password,
-        inviteCode: this.inviteCode,
+        inviteCode: this.inviteCode.trim(),
       })
       /* dont await */ this.rootStore.preferences.setBirthDate(this.birthDate)
       track('Create Account')