1
0
Fork 0
mirror of synced 2024-09-30 01:08:13 +13:00

chore: removed abuse-limit in callback endpoint

This commit is contained in:
Christy Jacob 2020-01-13 00:11:45 +05:30
parent d6f5d81073
commit 55707e86cb

View file

@ -435,8 +435,6 @@ $utopia->get('/v1/auth/login/oauth/callback/:provider/:projectId')
->desc('OAuth Callback')
->label('error', __DIR__.'/../views/general/error.phtml')
->label('scope', 'auth')
// ->label('abuse-limit', 100)
// ->label('abuse-key', 'ip:{ip}')
->label('docs', false)
->param('projectId', '', function () { return new Text(1024); }, 'Project unique ID')
->param('provider', '', function () use ($providers) { return new WhiteList(array_keys($providers)); }, 'OAuth provider')