Add a temporary nsec login option, for testing

This commit is contained in:
dtonon 2026-04-07 19:43:47 +01:00
parent fa56d0252d
commit fab4edd721
6 changed files with 277 additions and 17 deletions

View file

@ -1,6 +1,6 @@
<script lang="ts">
import { rooms } from "$lib/mock";
import { auth, login, logout } from "$lib/auth.svelte";
import { auth, openLogin, logout } from "$lib/auth.svelte";
import { groupStore } from "$lib/group.svelte";
type Props = {
@ -94,7 +94,7 @@
</button>
{:else}
<button
onclick={login}
onclick={openLogin}
class="mt-3 w-full rounded bg-brand px-3 py-1.5 font-medium text-sm text-white hover:bg-brand-hover"
>
Login