diff options
| author | Pepper <pepper@scannerjammer.com> | 2015-05-28 14:23:46 -0400 |
|---|---|---|
| committer | Pepper <pepper@scannerjammer.com> | 2015-05-28 14:23:46 -0400 |
| commit | 4a4a32e1f979282c1b93a43b0dd10f89a0d2d590 (patch) | |
| tree | 05aa36967a0be9f92030606c538393c52c0f5fa7 /frontend/static/js/src/api.js | |
| parent | a4916103efb2d97896c456ff0e83064b21e85d25 (diff) | |
fixed email in profiles
Diffstat (limited to 'frontend/static/js/src/api.js')
| -rw-r--r-- | frontend/static/js/src/api.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/frontend/static/js/src/api.js b/frontend/static/js/src/api.js index 797823e..3a0cd14 100644 --- a/frontend/static/js/src/api.js +++ b/frontend/static/js/src/api.js @@ -6,7 +6,7 @@ var API = { auth: { - login: "/api/auth/login", + login: "/api/auth/login", logout: "/api/auth/logout", checkin: "/api/auth/checkin", sneakin: "/api/auth/sneakin", @@ -64,6 +64,14 @@ var API = } } // $.ajaxSetup({ timeout: 1000 }) + $.ajaxSetup({ + type: "POST", + xhrFields: { + withCredentials: true + }, + }); +//API.js seems fairly global still no cookie looks good need to check database if it's was updated +//for my user, right? yep } } var Local = |
