From dc15b59a032d96408f7117d6c354719904db45a7 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Sat, 2 Apr 2022 14:29:41 +0200 Subject: [PATCH] :lipstick: Added info that email was confirmed successfully --- frontend/src/routes/account/login.svelte | 43 +++++++++++++++++++++-- frontend/src/routes/docs/self-host.svelte | 5 +-- 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/frontend/src/routes/account/login.svelte b/frontend/src/routes/account/login.svelte index f85d9c5..d7fbc1a 100644 --- a/frontend/src/routes/account/login.svelte +++ b/frontend/src/routes/account/login.svelte @@ -1,12 +1,18 @@ @@ -22,6 +28,8 @@ navbarVisible.set(true); + export let verified: boolean; + let loginData = { email: '', password: '' @@ -55,6 +63,7 @@ Cookies.set('reload', String(parseInt(cookie) + 1), { expires: expireIn60Sec }); } window.location.reload(); + }; const checkRememberMe = async () => { @@ -96,6 +105,36 @@
+ {#if verified} + + {/if}
You'll have to set up a storage provider for some pictures (these getting imported from KAHOOT!). For now, you can use Deta or the local filesystem. - Please note that I would NOT use the local file system because of these funny path-things. I tried to - prevent these attacks, but i really wouldn't trust it. You'll have to set the + Please note that I would NOT use the local file system because of these funny + path-things. I tried to prevent these attacks, but i really wouldn't trust it. You'll have + to set the STORAGE_BACKEND-environment-variable to either deta or local.