Skip to content

Commit

Permalink
fix: add description for need admin approval error in sign in page (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
JinIgarashi authored Jan 9, 2024
1 parent 1f47a34 commit 1dceac4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/long-news-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"geohub": patch
---

fix: add description for need admin approval error in sign in page
3 changes: 2 additions & 1 deletion sites/geohub/src/routes/(auth)/auth/signIn/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
<span class="is-uppercase has-text-weight-semibold is-size-6">{provider.label}</span>
</button>
<p class="has-text-grey pt-2 {index < data.providers.length - 1 ? 'pb-4' : ''} is-size-7">
{provider.description}
<!-- eslint-disable svelte/no-at-html-tags -->
{@html provider.description}
</p>
{/each}
{/if}
Expand Down
5 changes: 3 additions & 2 deletions sites/geohub/src/routes/(auth)/auth/signIn/+page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ export const load: PageLoad = async () => {
{
id: 'azure-ad-b2c',
label: `UN Agencies account`,
description:
'UNDP and all other UN agencies can be authenticated through UNDP B2C login service',
description: `UNDP and all other UN agencies can be authenticated through UNDP B2C login service.
<br>
If you encounter <b>Need admin approval</b> error when you sign in, please contact your agency's IT to grant access to GeoHub app.`,
icon: '/assets/un-logo-white.svg'
},
{
Expand Down

0 comments on commit 1dceac4

Please sign in to comment.