put cookie requests back on authenticated rpc list
This commit is contained in:
5
rpc.js
5
rpc.js
@@ -798,7 +798,7 @@ var upload_status = function (Env, publicKey, filesize, cb) {
|
|||||||
|
|
||||||
var isAuthenticatedCall = function (call) {
|
var isAuthenticatedCall = function (call) {
|
||||||
return [
|
return [
|
||||||
//'COOKIE',
|
'COOKIE',
|
||||||
'RESET',
|
'RESET',
|
||||||
'PIN',
|
'PIN',
|
||||||
'UNPIN',
|
'UNPIN',
|
||||||
@@ -893,6 +893,9 @@ RPC.create = function (config /*:typeof(ConfigType)*/, cb /*:(?Error, ?Function)
|
|||||||
public key which you provided.
|
public key which you provided.
|
||||||
|
|
||||||
We can safely modify the state for that key
|
We can safely modify the state for that key
|
||||||
|
|
||||||
|
OR it's an unauthenticated call, which must not modify the state
|
||||||
|
for that key in a meaningful way.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// discard validated cookie from message
|
// discard validated cookie from message
|
||||||
|
|||||||
Reference in New Issue
Block a user