Skip to content
Snippets Groups Projects
Unverified Commit 11e7cfc7 authored by Mar0xy's avatar Mar0xy
Browse files

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

parents 33f4e2ee d3d456cc
Loading
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment