From 10a804b60ee541541dc54c0b3cf240d310468fc0 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 11 Sep 2023 05:57:50 -0500 Subject: [PATCH] Remove POW requirement for now --- src/app.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app.ts b/src/app.ts index ef59c8ff..d78c259d 100644 --- a/src/app.ts +++ b/src/app.ts @@ -1,4 +1,3 @@ -import { Conf } from '@/config.ts'; import '@/cron.ts'; import { type Context, @@ -106,7 +105,7 @@ app.post('/oauth/revoke', emptyObjectController); app.post('/oauth/authorize', oauthAuthorizeController); app.get('/oauth/authorize', oauthController); -app.post('/api/v1/accounts', requireProof({ pow: Conf.pow.registrations }), createAccountController); +app.post('/api/v1/accounts', requireProof(), createAccountController); app.get('/api/v1/accounts/verify_credentials', requirePubkey, verifyCredentialsController); app.patch('/api/v1/accounts/update_credentials', requirePubkey, updateCredentialsController); app.get('/api/v1/accounts/search', accountSearchController);