chore: set abuse-limit to default

This commit is contained in:
Christy Jacob 2020-01-13 00:10:27 +05:30
parent d33ffbbd37
commit d6f5d81073

View file

@ -454,7 +454,7 @@ $utopia->get('/v1/auth/login/oauth/:provider/redirect')
->label('error', __DIR__.'/../views/general/error.phtml')
->label('webhook', 'auth.oauth')
->label('scope', 'auth')
->label('abuse-limit', 100)
->label('abuse-limit', 50)
->label('abuse-key', 'ip:{ip}')
->label('docs', false)
->param('provider', '', function () use ($providers) { return new WhiteList(array_keys($providers)); }, 'OAuth provider')