Fix incorrect secret being downloaded

This commit is contained in:
Jon Staab
2026-01-13 14:28:21 -08:00
parent adb2ce4846
commit 23ffb15a8d
3 changed files with 7 additions and 8 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
<script lang="ts">
import type {Profile} from "@welshman/util"
import {makeProfile} from "@welshman/util"
import {makeProfile, makeSecret} from "@welshman/util"
import AltArrowLeft from "@assets/icons/alt-arrow-left.svg?dataurl"
import AltArrowRight from "@assets/icons/alt-arrow-right.svg?dataurl"
import Icon from "@lib/components/Icon.svelte"
@@ -18,6 +18,7 @@
const {flow}: Props = $props()
const initialValues = {
secret: makeSecret(),
profile: makeProfile(),
shouldBroadcast: false,
}