projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't store unnecessary info in the token
[invirt/packages/invirt-web.git]
/
templates
/
main.py
diff --git
a/templates/main.py
b/templates/main.py
index
2c6430d
..
a8e59b8
100755
(executable)
--- a/
templates/main.py
+++ b/
templates/main.py
@@
-284,7
+284,7
@@
def vnc(user, fields):
data = {}
data["user"] = user
- data["machine"]=machine
+ data["machine"]=machine.name
data["expires"]=time.time()+(5*60)
pickledData = cPickle.dumps(data)
m = hmac.new(TOKEN_KEY, digestmod=sha)