1
0
Fork 0
mirror of synced 2024-06-25 17:50:38 +12:00

Removed buggy abuse check

This commit is contained in:
Eldad Fux 2020-01-13 14:49:17 +02:00
parent 73e1062884
commit d005ade2d8

View file

@ -436,8 +436,6 @@ $utopia->get('/v1/account/sessions/oauth/callback/:provider/:projectId')
->desc('OAuth Callback')
->label('error', __DIR__.'/../../views/general/error.phtml')
->label('scope', 'public')
//->label('abuse-limit', 50)
//->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')