warden_cookie_session 0.1.2.19245 → 0.1.2.19269
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/warden/cookie_session/encrypted_cookie.rb +3 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e478c50c3fa951cf31b386e84d66d63c2bb387e19acfab543d60d7c2991e0cee
|
4
|
+
data.tar.gz: 947a2be152f06015638ee846ea5fa8c42abeece85626f27c1f8c15a6967fdedf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 449c848e9a4150f6ee4444c1ed27539fb2dec23f2de04f9f9a7ea875e1002b0e5457bd336cb8b4dbb229d43cc8f128fcae2bbc1469c6630c7e332b68777f037a
|
7
|
+
data.tar.gz: d970df13f3e48c6ccef7e3fcfecd167503286df9f40ac5c0ca68d5445a6f3306ebd8ed6b3f42387f24101f4e964650bb8b13a9be4c70d22fd721d4a3fb4d4b7c
|
@@ -19,12 +19,11 @@ class Warden::CookieSession::EncryptedCookie
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def put(data, domain)
|
22
|
-
|
22
|
+
store[cookie] = {
|
23
23
|
value: encryptor.encrypt_and_sign(data.to_json),
|
24
|
-
domain: domain
|
24
|
+
domain: domain,
|
25
|
+
secure: false
|
25
26
|
}
|
26
|
-
|
27
|
-
store[cookie] = c
|
28
27
|
end
|
29
28
|
|
30
29
|
def clear(domain)
|