mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-02 12:04:19 +01:00
Require POW on signup
This commit is contained in:
@@ -115,7 +115,7 @@ app.post('/oauth/revoke', emptyObjectController);
|
||||
app.post('/oauth/authorize', oauthAuthorizeController);
|
||||
app.get('/oauth/authorize', oauthController);
|
||||
|
||||
app.post('/api/v1/accounts', requireProof(), createAccountController);
|
||||
app.post('/api/v1/accounts', requireProof({ pow: 20 }), createAccountController);
|
||||
app.get('/api/v1/accounts/verify_credentials', requirePubkey, verifyCredentialsController);
|
||||
app.patch(
|
||||
'/api/v1/accounts/update_credentials',
|
||||
|
||||
Reference in New Issue
Block a user