diff options
| author | Adam Soltys <[email protected]> | 2022-11-02 19:47:29 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-11-02 19:48:18 -0700 |
| commit | 23ffc5a6359dbc84a1de1da632412edeb9989b5f (patch) | |
| tree | 1cc276efeb5287e1fc176ec60d46aed091ab08ca /src/routes/disable2fa/+server.js | |
| parent | c12857a38eed1227ed51dc6e0af7242e66dd7561 (diff) | |
| download | coinos-ui-23ffc5a6359dbc84a1de1da632412edeb9989b5f.tar.gz coinos-ui-23ffc5a6359dbc84a1de1da632412edeb9989b5f.zip | |
move to app layout
Diffstat (limited to 'src/routes/disable2fa/+server.js')
| -rw-r--r-- | src/routes/disable2fa/+server.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/routes/disable2fa/+server.js b/src/routes/disable2fa/+server.js deleted file mode 100644 index 237da445..00000000 --- a/src/routes/disable2fa/+server.js +++ /dev/null @@ -1,8 +0,0 @@ -import { auth, post } from '$lib/utils'; - -export async function PUT({ cookies, request }) { - let body = await request.json(); - let res = await post('/disable2fa', body, auth(cookies)); - - return new Response(JSON.stringify(res)); -} |
