mirror of
https://github.com/badges/shields.git
synced 2025-11-30 06:21:32 +03:00
Check request origin before sending credentials (#4729)
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com> Co-authored-by: Paul Melnikow <github@paulmelnikow.com> Co-authored-by: chris48s <chris48s@users.noreply.github.com> Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com> Co-authored-by: Paul Melnikow <github@paulmelnikow.com> Co-authored-by: chris48s <chris48s@users.noreply.github.com>
This commit is contained in:
@@ -81,6 +81,7 @@ const multipleViolations = createMockResponse({
|
||||
const user = 'admin'
|
||||
const token = 'password'
|
||||
const config = {
|
||||
public: { services: {} },
|
||||
private: {
|
||||
sl_insight_userUuid: user,
|
||||
sl_insight_apiToken: token,
|
||||
|
||||
Reference in New Issue
Block a user