From 55707e86cb3310d4a3e2f4033439392391b019a1 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Mon, 13 Jan 2020 00:11:45 +0530 Subject: [PATCH] chore: removed abuse-limit in callback endpoint --- app/controllers/auth.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/auth.php b/app/controllers/auth.php index e2fd5ab078..b038917988 100644 --- a/app/controllers/auth.php +++ b/app/controllers/auth.php @@ -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')