From cf20ad6221157bd0053bb10fad3d5d33483ed38a Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Sun, 7 Oct 2007 17:34:22 -0400 Subject: [PATCH 1/1] Don't store unnecessary info in the token svn path=/trunk/web/; revision=120 --- templates/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/main.py b/templates/main.py index 2c6430d..a8e59b8 100755 --- 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) -- 1.7.9.5