mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
fix: 🐛 Apps without websites would break consent page
This commit is contained in:
parent
c0ced8b4cb
commit
a41aa3b91d
|
|
@ -101,7 +101,7 @@ const client_id = query.client_id;
|
||||||
const scope = query.scope ? decodeURIComponent(query.scope as string) : "";
|
const scope = query.scope ? decodeURIComponent(query.scope as string) : "";
|
||||||
|
|
||||||
const validUrlParameters =
|
const validUrlParameters =
|
||||||
application && website && redirect_uri && client_id && scope;
|
application && redirect_uri && client_id && scope;
|
||||||
|
|
||||||
const oauthScopeText: Record<string, string> = {
|
const oauthScopeText: Record<string, string> = {
|
||||||
"rw:accounts": "$VERB your account information",
|
"rw:accounts": "$VERB your account information",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue