added token validation with input fields

This commit is contained in:
2025-06-18 08:48:53 +02:00
parent 34f8fd5490
commit 3dbaf7a01b
10 changed files with 133 additions and 177 deletions

View File

@@ -1,6 +1,6 @@
import { getVorgangByCaseNumber } from '$lib/server/vorgangService';
import { redirectIfVorgangExists } from '$lib/server/vorgangService';
/** @type {import('./$types').Actions} */
export const actions = {
default: async ({request}: {request: Request}) => getVorgangByCaseNumber(request)
default: async ({request}: {request: Request}) => redirectIfVorgangExists(request)
}