CLASSROOMIO-T-152: Student can join any course via invite link

This commit is contained in:
Rotimi Best
2023-09-14 12:47:26 +01:00
parent c07c119b5b
commit 14f58792f6
17 changed files with 320 additions and 137 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
<script>
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import TextField from '$lib/components/Form/TextField.svelte';
import PrimaryButton from '$lib/components/PrimaryButton/index.svelte';
import { getSupabase } from '$lib/utils/functions/supabase';
@@ -40,7 +41,7 @@
formRef?.reset();
return goto('/login');
return goto('/login' + $page.url.search);
// success = true;
// fields = Object.assign({}, SIGNUP_FIELDS);
} catch (error) {