Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/node/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/node/commands.py')
-rw-r--r--sugar_network/node/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar_network/node/commands.py b/sugar_network/node/commands.py
index 75478d1..47d4c82 100644
--- a/sugar_network/node/commands.py
+++ b/sugar_network/node/commands.py
@@ -215,7 +215,7 @@ class MasterCommands(NodeCommands, SyncCommands):
roles = []
if auth.try_validate(request, 'root'):
roles.append('root')
- return {'roles': roles, 'user': request.principal}
+ return {'roles': roles, 'guid': request.principal}
def _load_pubkey(pubkey):