From c25a4ec2c470b90021d2fe1664226fb99ffbf4cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mili=C4=87?= Date: Thu, 18 Apr 2024 15:36:36 +0200 Subject: [PATCH] feature/Improve application access text --- .../src/main/scala/code/snippet/ConsentScreen.scala | 3 --- obp-api/src/main/webapp/consent-screen.html | 10 ++-------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/obp-api/src/main/scala/code/snippet/ConsentScreen.scala b/obp-api/src/main/scala/code/snippet/ConsentScreen.scala index f04a543a6e..841140d864 100644 --- a/obp-api/src/main/scala/code/snippet/ConsentScreen.scala +++ b/obp-api/src/main/scala/code/snippet/ConsentScreen.scala @@ -77,10 +77,7 @@ class ConsentScreen extends MdcLoggable { val username = AuthUser.getCurrentUser.map(_.name).getOrElse("") val oidcProviderDescription = getWebUiPropsValue("webui_hydra_oidc_client", "OpenID Connect Provider") "#username *" #> username & - "#username_2 *" #> username & "#consumer_description_1 *" #> oidcProviderDescription & - "#consumer_description_2 *" #> oidcProviderDescription & - "#consumer_description_3 *" #> oidcProviderDescription & "form" #> { "#skip_consent_screen_checkbox" #> SHtml.checkbox(skipConsentScreenVar, skipConsentScreenVar(_)) & "#allow_access_to_consent" #> SHtml.submit(s"Allow access", () => submitAllowAction) & diff --git a/obp-api/src/main/webapp/consent-screen.html b/obp-api/src/main/webapp/consent-screen.html index 489b05afba..d7f7da7dea 100644 --- a/obp-api/src/main/webapp/consent-screen.html +++ b/obp-api/src/main/webapp/consent-screen.html @@ -34,14 +34,8 @@ }
-

An application requests access to your data!

-

Hi , application wants access resources on your behalf and to:

- -

Confirm or Deny Applicaiton Access.

-

Dear , is requesting access to your user profile.

-

will be able to act on your behalf.

+

Confirm Application Access

+

Hi , the wants to act on your behalf.