From 0013f681968862ea239ad77020f2bede6fa0a74c Mon Sep 17 00:00:00 2001 From: Magnus Holm Date: Thu, 22 May 2008 13:21:05 +0200 Subject: [PATCH] Cleaning up a bit --- lib/camping/session.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/camping/session.rb b/lib/camping/session.rb index 7f44ead..731102b 100644 --- a/lib/camping/session.rb +++ b/lib/camping/session.rb @@ -42,7 +42,7 @@ def service(*a) blob, secure_hash = @cookies.identity.to_s.split(':', 2) blob = Base64.decode64(blob) data = Marshal.restore(blob) - data = {} unless secure_blob_hasher(blob).strip.downcase == secure_hash.strip.downcase + data = {} unless secure_blob_hasher(blob).strip == secure_hash.strip else blob = '' data = {}