diff options
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/FeaturesStore.js | 1 | ||||
-rw-r--r-- | src/stores/UserStore.js | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/stores/FeaturesStore.js b/src/stores/FeaturesStore.js index 5d379fd3e..adbd401b4 100644 --- a/src/stores/FeaturesStore.js +++ b/src/stores/FeaturesStore.js | |||
@@ -67,6 +67,7 @@ export default class FeaturesStore extends Store { | |||
67 | if (this.stores.user.isLoggedIn) { | 67 | if (this.stores.user.isLoggedIn) { |
68 | this.featuresRequest.invalidate({ immediately: true }); | 68 | this.featuresRequest.invalidate({ immediately: true }); |
69 | } else { | 69 | } else { |
70 | this.defaultFeaturesRequest.execute(); | ||
70 | this.defaultFeaturesRequest.invalidate({ immediately: true }); | 71 | this.defaultFeaturesRequest.invalidate({ immediately: true }); |
71 | } | 72 | } |
72 | } | 73 | } |
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; |