pl-fe: this doesn't actually fix anything
Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
@ -44,9 +44,7 @@ const prepareRequest = (provider: string) =>
|
||||
|
||||
const query = queryString.stringify(params);
|
||||
|
||||
setTimeout(() => {
|
||||
location.href = `${baseURL}/oauth/prepare_request?${query.toString()}`;
|
||||
}, 100);
|
||||
};
|
||||
|
||||
export {
|
||||
|
||||
@ -59,9 +59,7 @@ const externalAuthorize = (instance: Instance, baseURL: string) => {
|
||||
localStorage.setItem('plfe:external:baseurl', baseURL);
|
||||
localStorage.setItem('plfe:external:scopes', scopes);
|
||||
|
||||
setTimeout(() => {
|
||||
window.location.href = `${baseURL}/oauth/authorize?${query.toString()}`;
|
||||
}, 100);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user