Allow the session RPC for limited (read-only) clients.

This commit is contained in:
Josh Rickmar 2015-09-23 10:52:06 -04:00
parent 3c9d18d641
commit 5983c9b98e

View file

@ -234,6 +234,7 @@ var rpcLimited = map[string]struct{}{
"notifyreceived": struct{}{}, "notifyreceived": struct{}{},
"notifyspent": struct{}{}, "notifyspent": struct{}{},
"rescan": struct{}{}, "rescan": struct{}{},
"session": struct{}{},
// Websockets AND HTTP/S commands // Websockets AND HTTP/S commands
"help": struct{}{}, "help": struct{}{},