Trim whitespace on invite code (#1517)

zio/stable
Paul Frazee 2023-09-22 17:04:58 -07:00 committed by GitHub
parent b7697f08d6
commit 41b53ca37b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ export class CreateAccountModel {
email: this.email, email: this.email,
handle: createFullHandle(this.handle, this.userDomain), handle: createFullHandle(this.handle, this.userDomain),
password: this.password, password: this.password,
inviteCode: this.inviteCode, inviteCode: this.inviteCode.trim(),
}) })
/* dont await */ this.rootStore.preferences.setBirthDate(this.birthDate) /* dont await */ this.rootStore.preferences.setBirthDate(this.birthDate)
track('Create Account') track('Create Account')