Commit Graph

14 Commits

Author SHA1 Message Date
Nikita Lutsenko
8ce0bd84fb Add promise-based master-key only middleware. 2016-03-01 16:16:07 -08:00
Florent Vilmart
28d1a8afe4 Sends 404 when parseServerURL is not set on public pages
- throws when verifyEmail = true && publicServerURL not set
2016-02-29 20:51:13 -05:00
Nikita Lutsenko
daa5f11122 Remove 'database' field from request and make all database requests go through config. 2016-02-26 22:48:53 -08:00
Nikita Lutsenko
9bc636dc5c Cleanup, remove unusued methods and unify cache.js. 2016-02-26 22:48:53 -08:00
Florent Vilmart
4e5cc1feb0 Fixes handing of no keys set in config 2016-02-26 10:22:05 -05:00
Florent Vilmart
ea2de87b1a Improves key matching algorithm 2016-02-26 10:18:16 -05:00
Florent Vilmart
c4abd1e267 cache as ES6 2016-02-25 08:10:08 -05:00
Drew Gross
c867e37559 Allow master key headers 2016-02-24 17:26:50 -08:00
Drew
941984f2e0 Merge pull request #390 from workslon/hotfix/access-control-allow-headers-response-header
Fix Access-Control-Allow-Headers to match exact headers
2016-02-19 14:42:13 -08:00
Joseph Le Grice
3f6445d035 remove _noBody when req.body._noBody == false 2016-02-19 16:41:31 +00:00
Fosco Marotto
6a88a81017 Remove _noBody from Unity SDK request. 2016-02-16 08:35:55 -08:00
vitaliysobur
0755a2953e fix Access-Control-Allow-Headers to match exact 2016-02-12 23:06:56 +00:00
Nikita Lutsenko
f53cb60d57 Add enforceMasterKeyAccess middleware. 2016-02-11 23:26:44 -08:00
Nikita Lutsenko
b989bbcaae Move all source files into 'src' folder. 2016-02-08 19:41:07 -08:00