chore: added back abuse limits
This commit is contained in:
parent
479bb0cf81
commit
d33ffbbd37
1 changed files with 2 additions and 2 deletions
|
@ -454,8 +454,8 @@ $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-key', 'ip:{ip}')
|
||||
->label('abuse-limit', 100)
|
||||
->label('abuse-key', 'ip:{ip}')
|
||||
->label('docs', false)
|
||||
->param('provider', '', function () use ($providers) { return new WhiteList(array_keys($providers)); }, 'OAuth provider')
|
||||
->param('code', '', function () { return new Text(1024); }, 'OAuth code')
|
||||
|
|
Loading…
Reference in a new issue