1
0
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:
chris48s
2020-03-04 20:42:27 +00:00
committed by GitHub
parent c37cf7e1ee
commit d8831729cb
43 changed files with 1079 additions and 277 deletions

View File

@@ -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,