Gregniuki commited on
Commit
8a8daf2
·
1 Parent(s): 7cbd47d

Update templates/register.html

Browse files
Files changed (1) hide show
  1. templates/register.html +1 -1
templates/register.html CHANGED
@@ -87,7 +87,7 @@
87
  })
88
  .then(data => {
89
  storeAccessToken(data.access_token);
90
- window.location.href = data.redirect_url;
91
  })
92
  .catch(error => {
93
  console.error('Error:', error);
 
87
  })
88
  .then(data => {
89
  storeAccessToken(data.access_token);
90
+ window.location.href = `${data.redirect_url}?token=${data.access_token}`;
91
  })
92
  .catch(error => {
93
  console.error('Error:', error);