We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07cb035 commit 4b839acCopy full SHA for 4b839ac
src/routes/(public)/(guest)/register/invite/[slug]/+page.svelte
@@ -74,8 +74,10 @@
74
await sdk.forConsole.account.createEmailPasswordSession(mail, pass);
75
const prefs = await sdk.forConsole.account.getPrefs();
76
const newPrefs = { ...prefs, code };
77
- await sdk.forConsole.account.updatePrefs(newPrefs);
78
- invalidate(Dependencies.ACCOUNT);
+ await Promise.all([
+ sdk.forConsole.account.updatePrefs(newPrefs),
79
+ invalidate(Dependencies.ACCOUNT)
80
+ ]);
81
await goto(base);
82
trackEvent(Submit.AccountCreate, {
83
email: mail,
0 commit comments