Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop

This commit is contained in:
Mar0xy 2023-11-03 13:25:12 +01:00
commit 11e7cfc7a0
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -77,7 +77,6 @@ async function accept(): Promise<void> {
const cbUrl = new URL(props.callback);
if (['javascript:', 'file:', 'data:', 'mailto:', 'tel:'].includes(cbUrl.protocol)) throw new Error('invalid url');
cbUrl.searchParams.set('session', props.session);
console.log(cbUrl.href);
location.href = cbUrl.href;
}
}