Skip to content

Commit

Permalink
Merge pull request #692 from ivpn/bug/close-session-on-light-purchase
Browse files Browse the repository at this point in the history
bug: Fix session not cleaned on light signup
  • Loading branch information
nathanrod authored Sep 19, 2023
2 parents 4ba45a1 + 4bc28de commit 446b86a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/themes/ivpn-v3/assets/js/views/OnePageCheckout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ export default {
publicKey: this.publicKey,
}
try {
await this.$store.dispatch('auth/logout')
await this.$store.dispatch("auth/createAccount", {product: "IVPN Light"} );
let URL = await this.$store.dispatch("account/createLightInvoice", {
Expand Down

0 comments on commit 446b86a

Please sign in to comment.