chekc for auth and set cookie better
This commit is contained in:
parent
74019e97a6
commit
73a6565326
8 changed files with 62 additions and 17 deletions
0
src/public/javascript/createProfile.js
Normal file
0
src/public/javascript/createProfile.js
Normal file
|
|
@ -62,5 +62,8 @@ async function acceptInvite() {
|
|||
|
||||
if (verifyResponse.ok) {
|
||||
document.querySelector('#sign-up-success').style.display = 'block';
|
||||
setTimeout(() => {
|
||||
window.location.href = "/createProfile";
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue