0
0
Fork 0

Merge commit from fork

* Add rate-limit on `/auth/setup`

* Remove useless test
This commit is contained in:
Claire 2025-02-27 15:44:35 +01:00 committed by GitHub
parent f5c4022a20
commit 06f879ce9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 12 deletions

View file

@ -24,15 +24,4 @@ RSpec.describe 'Auth Setup' do
end
end
end
describe 'PUT /auth/setup' do
before { sign_in Fabricate(:user, confirmed_at: nil) }
it 'gracefully handles invalid nested params' do
put '/auth/setup?user=invalid'
expect(response)
.to have_http_status(400)
end
end
end