projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d15039
)
Don't store unnecessary info in the token
author
Quentin Smith
<quentin@mit.edu>
Sun, 7 Oct 2007 21:34:22 +0000
(17:34 -0400)
committer
Quentin Smith
<quentin@mit.edu>
Sun, 7 Oct 2007 21:34:22 +0000
(17:34 -0400)
svn path=/trunk/web/; revision=120
templates/main.py
patch
|
blob
|
history
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)