-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'qa' of https://github.com/credebl/studio into merge/dev…
…-to-qa-27-08-2024
- Loading branch information
Showing
15 changed files
with
113 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/pages/organizations/verification/verify-credentials/email/index.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
import LayoutSidebar from '../../../../../app/LayoutSidebar.astro'; | ||
import { pathRoutes } from '../../../../../config/pathRoutes'; | ||
import { checkUserSession } from '../../../../../utils/check-session'; | ||
const response = await checkUserSession({cookies: Astro.cookies, currentPath: Astro.url.pathname}); | ||
const route: string = pathRoutes.auth.sinIn | ||
if (!response.authorized) { | ||
return Astro.redirect(response.redirect); | ||
} | ||
--- | ||
|
||
<LayoutSidebar notFoundPage={!response.permitted}> | ||
</LayoutSidebar> |
14 changes: 14 additions & 0 deletions
14
src/pages/organizations/verification/verify-credentials/email/schemas/attributes/index.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
import LayoutSidebar from "../../../../../../../app/LayoutSidebar.astro"; | ||
import EmailAttributesSelection from "../../../../../../../components/Verification/EmailAttributesSelection"; | ||
import { checkUserSession } from "../../../../../../../utils/check-session"; | ||
const response = await checkUserSession({cookies: Astro.cookies, currentPath: Astro.url.pathname}); | ||
if (!response.authorized) { | ||
return Astro.redirect(response.redirect); | ||
} | ||
--- | ||
|
||
<LayoutSidebar notFoundPage={!response.permitted}> | ||
<EmailAttributesSelection client:load /> | ||
</LayoutSidebar> |
14 changes: 14 additions & 0 deletions
14
...s/verification/verify-credentials/email/schemas/attributes/verification-email/index.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
import LayoutSidebar from "../../../../../../../../app/LayoutSidebar.astro"; | ||
import EmailVerification from "../../../../../../../../components/Verification/EmailVerification"; | ||
import { checkUserSession } from "../../../../../../../../utils/check-session"; | ||
const response = await checkUserSession({cookies: Astro.cookies, currentPath: Astro.url.pathname}); | ||
if (!response.authorized) { | ||
return Astro.redirect(response.redirect); | ||
} | ||
--- | ||
|
||
<LayoutSidebar notFoundPage={!response.permitted}> | ||
<EmailVerification client:load /> | ||
</LayoutSidebar> |
14 changes: 14 additions & 0 deletions
14
...anizations/verification/verify-credentials/email/schemas/cred-defs/attributes/index.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
import LayoutSidebar from "../../../../../../../../app/LayoutSidebar.astro"; | ||
import EmailAttributesSelection from "../../../../../../../../components/Verification/EmailAttributesSelection"; | ||
import { checkUserSession } from "../../../../../../../../utils/check-session"; | ||
const response = await checkUserSession({cookies: Astro.cookies, currentPath: Astro.url.pathname}); | ||
if (!response.authorized) { | ||
return Astro.redirect(response.redirect); | ||
} | ||
--- | ||
|
||
<LayoutSidebar notFoundPage={!response.permitted}> | ||
<EmailAttributesSelection client:load /> | ||
</LayoutSidebar> |
15 changes: 15 additions & 0 deletions
15
...tion/verify-credentials/email/schemas/cred-defs/attributes/verification-email/index.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
import LayoutSidebar from "../../../../../../../../../app/LayoutSidebar.astro"; | ||
import EmailVerification from "../../../../../../../../../components/Verification/EmailVerification"; | ||
import { checkUserSession } from "../../../../../../../../../utils/check-session"; | ||
const response = await checkUserSession({cookies: Astro.cookies, currentPath: Astro.url.pathname}); | ||
if (!response.authorized) { | ||
return Astro.redirect(response.redirect); | ||
} | ||
--- | ||
|
||
<LayoutSidebar notFoundPage={!response.permitted}> | ||
<EmailVerification client:load /> | ||
</LayoutSidebar> |
17 changes: 17 additions & 0 deletions
17
src/pages/organizations/verification/verify-credentials/email/schemas/cred-defs/index.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
import LayoutSidebar from "../../../../../../../app/LayoutSidebar.astro"; | ||
import EmailCredDefSelection from "../../../../../../../components/Verification/EmailCredDefSelection"; | ||
import { pathRoutes } from "../../../../../../../config/pathRoutes"; | ||
import { checkUserSession } from "../../../../../../../utils/check-session"; | ||
const response = await checkUserSession({cookies: Astro.cookies, currentPath: Astro.url.pathname}); | ||
const route: string = pathRoutes.auth.sinIn | ||
if (!response.authorized) { | ||
return Astro.redirect(response.redirect); | ||
} | ||
--- | ||
|
||
<LayoutSidebar notFoundPage={!response.permitted}> | ||
<EmailCredDefSelection client:load/> | ||
</LayoutSidebar> |
16 changes: 16 additions & 0 deletions
16
src/pages/organizations/verification/verify-credentials/email/schemas/index.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
import LayoutSidebar from "../../../../../../app/LayoutSidebar.astro"; | ||
import EmailSchemaSelection from "../../../../../../components/Verification/EmailSchemaSelection"; | ||
import { pathRoutes } from "../../../../../../config/pathRoutes"; | ||
import { checkUserSession } from "../../../../../../utils/check-session"; | ||
const response = await checkUserSession({cookies: Astro.cookies, currentPath: Astro.url.pathname}); | ||
const route: string = pathRoutes.auth.sinIn | ||
if (!response.authorized) { | ||
return Astro.redirect(response.redirect); | ||
} | ||
--- | ||
|
||
<LayoutSidebar notFoundPage={!response.permitted}> | ||
<EmailSchemaSelection client:load/> | ||
</LayoutSidebar> |