1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-03-24 13:05:06 +00:00

fix: don't use TOFU for logout callback URLs (#588)

This commit is contained in:
Alessandro (Ale) Segala
2025-05-29 13:01:23 -07:00
committed by GitHub
parent 20d3f780a2
commit 256f74d0a3
4 changed files with 50 additions and 25 deletions

View File

@@ -9,11 +9,13 @@
let {
label,
description,
callbackURLs = $bindable(),
error = $bindable(null),
...restProps
}: HTMLAttributes<HTMLDivElement> & {
label: string;
description: string;
callbackURLs: string[];
error?: string | null;
children?: Snippet;
@@ -21,7 +23,7 @@
</script>
<div {...restProps}>
<FormInput {label} description={m.callback_url_description()}>
<FormInput {label} {description}>
<div class="flex flex-col gap-y-2">
{#each callbackURLs as _, i}
<div class="flex gap-x-2">