Skip to content

Commit

Permalink
Update ActivationCard.vue (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
mservidio authored Apr 16, 2021
1 parent bef3564 commit acf2d02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/ActivationCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ export default {
const token = this.getCookie('gmt') || this.$route.query.gmt;
if (token) {
this.jwtToken = token;
localStorage.setItem('gmt', token);
sessionStorage.setItem('gmt', token);
} else {
this.jwtToken = localStorage.getItem('gmt');
localStorage.removeItem('gmt');
this.jwtToken = sessionStorage.getItem('gmt');
sessionStorage.removeItem('gmt');
}
this.performLogin().then(result => {
Expand Down

0 comments on commit acf2d02

Please sign in to comment.