diff --git a/packages/backend/src/routes/auth.ts b/packages/backend/src/routes/auth.ts index 62071660..2c736310 100644 --- a/packages/backend/src/routes/auth.ts +++ b/packages/backend/src/routes/auth.ts @@ -19,6 +19,7 @@ router.get('/registration/:email', async (req, res) => { }); router.post('/register', async (req, res) => { + console.log('Register', req.body); const { email, challenge, attestation } = req.body; const user = await createUser(req.app.get('service'), { challenge, @@ -31,6 +32,7 @@ router.post('/register', async (req, res) => { }); router.post('/authenticate', async (req, res) => { + console.log('Authenticate', req.body); const { signedWhoamiRequest } = req.body; const user = await authenticateUser( req.app.get('service'), diff --git a/packages/backend/src/routes/staging.ts b/packages/backend/src/routes/staging.ts index 6ac55a6e..8adfcd76 100644 --- a/packages/backend/src/routes/staging.ts +++ b/packages/backend/src/routes/staging.ts @@ -3,7 +3,7 @@ import { Router } from 'express'; const router = Router(); router.get('/version', async (req, res) => { - return res.send({ version: '0.0.3' }); + return res.send({ version: '0.0.4' }); }); export default router;