Remove POW requirement for now

This commit is contained in:
Alex Gleason 2023-09-11 05:57:50 -05:00
parent bacb872a18
commit 10a804b60e
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 2 deletions

View File

@ -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);