Merge branch 'main' into UMBE

This commit is contained in:
UMBENOMENA
2025-02-19 19:35:38 +01:00
committed by GitHub
110 changed files with 4352 additions and 925 deletions

View File

@@ -16,6 +16,7 @@
export let ausweisart: Enums.Ausweisart
async function ausweisAbschicken() {
loginAction = ausweisAbschicken
if (!await validateAccessTokenClient()) {
loginOverlayHidden = false;
return
@@ -35,7 +36,10 @@
}
}
let loginAction: () => any = ausweisAbschicken;
async function spaeterWeitermachen() {
loginAction = spaeterWeitermachen;
if (!await validateAccessTokenClient()) {
loginOverlayHidden = false;
return
@@ -51,6 +55,8 @@
"",
`${location.pathname}?uid=${ausweis.uid}`
);
window.location.href = `/speichern-erfolgreich?uid=${ausweis.uid}`
}
}
@@ -71,7 +77,7 @@ sm:grid-cols-[1fr_min-content_min-content_min-content] sm:justify-self-end sm:mt
<div>
<Overlay bind:hidden={loginOverlayHidden}>
<div class="bg-white w-full max-w-screen-sm py-8">
<EmbeddedAuthFlowModule onLogin={ausweisAbschicken}></EmbeddedAuthFlowModule>
<EmbeddedAuthFlowModule onLogin={loginAction}></EmbeddedAuthFlowModule>
</div>
</Overlay>