aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/login/+server.js
blob: 32d2244d91e6826bebb89c37f77d229feb7e392c (plain) (blame)
1
2
3
4
5
6
import { json } from '@sveltejs/kit';
import { post } from '$lib/utils';

export async function POST({ request }) {
	return json(await post('/checkPassword', await request.json()));
}