aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/UserStore.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-10-17 14:12:36 +0200
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-10-17 14:12:36 +0200
commitb6276bd0cb88ce681bc35a6fc7b1ae0cf6ac56ea (patch)
tree7070d5c2fd4a3d98d63d0c85171d85dba77102c5 /src/stores/UserStore.js
parentpolishing (diff)
downloadferdium-app-b6276bd0cb88ce681bc35a6fc7b1ae0cf6ac56ea.tar.gz
ferdium-app-b6276bd0cb88ce681bc35a6fc7b1ae0cf6ac56ea.tar.zst
ferdium-app-b6276bd0cb88ce681bc35a6fc7b1ae0cf6ac56ea.zip
optimize trial signup flow
Diffstat (limited to 'src/stores/UserStore.js')
-rw-r--r--src/stores/UserStore.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js
index 735e8f886..297ea1121 100644
--- a/src/stores/UserStore.js
+++ b/src/stores/UserStore.js
@@ -205,7 +205,7 @@ export default class UserStore extends Store {
205 } 205 }
206 206
207 @action async _signup({ 207 @action async _signup({
208 firstname, lastname, email, password, accountType, company, 208 firstname, lastname, email, password, accountType, company, plan, currency,
209 }) { 209 }) {
210 const authToken = await this.signupRequest.execute({ 210 const authToken = await this.signupRequest.execute({
211 firstname, 211 firstname,
@@ -215,6 +215,8 @@ export default class UserStore extends Store {
215 accountType, 215 accountType,
216 company, 216 company,
217 locale: this.stores.app.locale, 217 locale: this.stores.app.locale,
218 plan,
219 currency,
218 }); 220 });
219 221
220 this.hasCompletedSignup = false; 222 this.hasCompletedSignup = false;