mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 18:25:11 +00:00
upd: exclude elk from check
This commit is contained in:
parent
fa30404048
commit
4d3dee7022
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ function accepted() {
|
|||
const isMastodon = !!getUrlParams().mastodon;
|
||||
if (session && session.app.callbackUrl && isMastodon) {
|
||||
const redirectUri = decodeURIComponent(getUrlParams().redirect_uri);
|
||||
if (!session.app.callbackUrl.split("\n").includes(redirectUri)) {
|
||||
if (!session.app.callbackUrl.includes('elk.zone') && !session.app.callbackUrl.split("\n").includes(redirectUri)) {
|
||||
state = "fetch-session-error";
|
||||
throw new Error("Callback URI doesn't match registered app");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue