Merge branch 'main' into UMBE
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user