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
compatibility mode, support for 2 ends running different api releases
[plcapi.git]
/
PLC
/
Methods
/
GetSession.py
diff --git
a/PLC/Methods/GetSession.py
b/PLC/Methods/GetSession.py
index
70f39b4
..
1e713fe
100644
(file)
--- a/
PLC/Methods/GetSession.py
+++ b/
PLC/Methods/GetSession.py
@@
-18,7
+18,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