appoxy_rails 0.0.31 → 0.0.32
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sessions/application_controller.rb +2 -2
- metadata +3 -3
@@ -71,9 +71,9 @@ module Appoxy
|
|
71
71
|
end
|
72
72
|
unless user
|
73
73
|
# else try with cookie
|
74
|
-
if cookies[:
|
74
|
+
if cookies[:rme]
|
75
75
|
# todo: should this also check a user_id cookie too?
|
76
|
-
user = ::User.find_by_remember_token(cookies[:
|
76
|
+
user = ::User.find_by_remember_token(cookies[:rme])
|
77
77
|
end
|
78
78
|
if user && !user.remember_token_expires.nil? && Time.now < user.remember_token_expires
|
79
79
|
@current_user = user
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 32
|
9
|
+
version: 0.0.32
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Travis Reeder
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-
|
17
|
+
date: 2011-04-06 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|