git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- support updating 'enabled' field
[plcapi.git]
/
PLC
/
Methods
/
GetSession.py
diff --git
a/PLC/Methods/GetSession.py
b/PLC/Methods/GetSession.py
index
f1263c8
..
ae75219
100644
(file)
--- a/
PLC/Methods/GetSession.py
+++ b/
PLC/Methods/GetSession.py
@@
-16,6
+16,7
@@
class GetSession(Method):
roles = ['admin', 'pi', 'user', 'tech', 'node']
accepts = [Auth()]
returns = Session.fields['session_id']
+
def call(self, auth):
# Authenticated with a session key, just return it