Trim whitespace on invite code (#1517)

This commit is contained in:
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

View file

@ -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')