diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-09-22 17:04:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-22 17:04:58 -0700 |
commit | 41b53ca37b7eec328e72aabe6bb99b2c6cc367b7 (patch) | |
tree | ac11dfff8903fd6a4ffb3dfb58393e9b8b8bb09c /src | |
parent | b7697f08d65a0095bfc06578d689b8b8f61bef69 (diff) | |
download | voidsky-41b53ca37b7eec328e72aabe6bb99b2c6cc367b7.tar.zst |
Trim whitespace on invite code (#1517)
Diffstat (limited to 'src')
-rw-r--r-- | src/state/models/ui/create-account.ts | 2 |
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') |