authentasaurus 0.6.20 → 0.6.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -156,7 +156,7 @@ module ActionController::Authorization
156
156
  user_model = User if user_model.nil?
157
157
 
158
158
  if cookies[:remember_me_token]
159
- user = user_model.find_by_remember_me_token cookies[:remember_me_token]
159
+ user = user_model.find_by_remember_me_token cookies.signed[:remember_me_token]
160
160
  if user.nil?
161
161
  cookies.delete :remember_me_token
162
162
  return false
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authentasaurus
3
3
  version: !ruby/object:Gem::Version
4
- hash: 47
4
+ hash: 45
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 20
10
- version: 0.6.20
9
+ - 21
10
+ version: 0.6.21
11
11
  platform: ruby
12
12
  authors:
13
13
  - Omar Mekky
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2010-10-01 00:00:00 +02:00
21
+ date: 2010-10-30 00:00:00 +02:00
22
22
  default_executable:
23
23
  dependencies: []
24
24