From d6f5d8107367d7a7ce39e55f8ad3eda8f011ae49 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Mon, 13 Jan 2020 00:10:27 +0530 Subject: [PATCH] chore: set abuse-limit to default --- app/controllers/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/auth.php b/app/controllers/auth.php index 17ada8bc3a..e2fd5ab078 100644 --- a/app/controllers/auth.php +++ b/app/controllers/auth.php @@ -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')