diff --git a/src/i18n/en.ts b/src/i18n/en.ts index 52f2af3..1ade425 100644 --- a/src/i18n/en.ts +++ b/src/i18n/en.ts @@ -52,8 +52,6 @@ export const dict = { }, allow: "Allow", deny: "Deny", - noAccess: "Your role does not have access to {{ client }}", - back: "Back", error: { noChallenge: "No consent challenge was provided", invalidChallenge: "An invalid consent challenge was provided", diff --git a/src/pages/consent.tsx b/src/pages/consent.tsx index cf510a9..8233b83 100644 --- a/src/pages/consent.tsx +++ b/src/pages/consent.tsx @@ -43,66 +43,42 @@ export default function ConsentPage() {

{t("consent.title")}

- -

- {t("consent.noAccess", { - client: consentData()?.clientName ?? "", +

+ {t("consent.clientWouldLikeTo", { + client: consentData()?.clientName ?? "", + })} +

+ +
+ + +
diff --git a/src/types/consent.ts b/src/types/consent.ts index 18909c5..9ad2c46 100644 --- a/src/types/consent.ts +++ b/src/types/consent.ts @@ -1,5 +1,4 @@ export type ConsentData = { - allowed: boolean; skip: boolean; clientName: string; scopes: string[];