per-browser source id so we support having notecase opened in multiple tabs/windows

This commit is contained in:
azivner
2017-12-16 20:48:34 -05:00
parent 03d86209ca
commit 50ff5da947
17 changed files with 98 additions and 83 deletions

View File

@@ -11,7 +11,7 @@ function setDataKey(req, decryptedDataKey) {
}
function getProtectedSessionId(req) {
return req.headers['x-protected-session-id'];
return req.headers.protected_session_id;
}
function getDataKey(req) {