From 41b53ca37b7eec328e72aabe6bb99b2c6cc367b7 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 22 Sep 2023 17:04:58 -0700 Subject: [PATCH] Trim whitespace on invite code (#1517) --- src/state/models/ui/create-account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/models/ui/create-account.ts b/src/state/models/ui/create-account.ts index d595b200..9f11a9b3 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')