aboutsummaryrefslogtreecommitdiffstats
path: root/sampledata/liquid/elements.conf
blob: a6778b25b53a9636f138ea89d216859b61582970 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
41e70b6e3ddd8709acad147354d651d53 (plain) (blame)
1
2
3
4
5
6
7
8
import { auth, post } from '$lib/utils';

export async function PUT({ request }) {
	let body = await request.json();
	let res = await post('/disable2fa', body, auth(request));

	return new Response(JSON.stringify(res));
}