uber_login 2.4.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uber_login.rb +1 -2
- data/lib/uber_login/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d8b8df00cb1f342d865a3248d3bdb40511a7af0
|
4
|
+
data.tar.gz: cc41758c688725a0928918476d1644d8f0954e2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8baa695e7e7724574850224cdf6833141d09dfdd5bc33157ad0152ba6a48c6a75cfb561695d0226d6fa0bc16276f069c59e704ac128eb6786ee7f60f5473c00c
|
7
|
+
data.tar.gz: 6dea523f7d3ec71187fba5e11cf5db1d41e23a87f21014c8f585392576d572c187ee032e459feb190ee0f4db563630967518f56c5f608d0c2697ec3a1856c9db
|
data/lib/uber_login.rb
CHANGED
@@ -53,7 +53,6 @@ module UberLogin
|
|
53
53
|
composite = nil
|
54
54
|
end
|
55
55
|
|
56
|
-
reset_session
|
57
56
|
session_manager.login(uid, composite)
|
58
57
|
@current_user = user
|
59
58
|
end
|
@@ -69,6 +68,7 @@ module UberLogin
|
|
69
68
|
delete_from_database if cookies[:uid] or strong_sessions
|
70
69
|
session_manager.clear
|
71
70
|
cookie_manager.clear
|
71
|
+
reset_session
|
72
72
|
else
|
73
73
|
delete_from_database(sequence)
|
74
74
|
end
|
@@ -121,7 +121,6 @@ module UberLogin
|
|
121
121
|
@login_from_cookies = true
|
122
122
|
|
123
123
|
run_callbacks :login do
|
124
|
-
reset_session
|
125
124
|
session[:uid] = cookies[:uid]
|
126
125
|
generate_new_token
|
127
126
|
session[:ulogin] = cookies[:ulogin]
|
data/lib/uber_login/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uber_login
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francesco Boffa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: useragent
|