Update templates/register.html
Browse files- 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);
|