omniauth-edumall 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/edumall/user.rb +3 -9
- data/lib/omniauth/edumall/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: 29be30e44740077d1c4325e798eb15b02e30d8b3
|
4
|
+
data.tar.gz: 49ce77d402cc8205a77121f1e3b1890f88343e70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 363f0409a2ecd6a83fbe6d1d06afc96c6ed9dffe865f82eca5ec17251ee436bb6807dd5b8ff2de2d000595601728999adc98cfa18a53a98b97e78e9b851135c1
|
7
|
+
data.tar.gz: 5653b16a524f2f4ce8cb6962103846e7027715f91e873b7e2177da83a2f8ac4baa915829afce54b9eb93f2bb580e4f07bf35d88eeb0c8311b014562e649cf07a
|
@@ -21,15 +21,9 @@ module Omniauth
|
|
21
21
|
}
|
22
22
|
end
|
23
23
|
|
24
|
-
def logout
|
25
|
-
|
26
|
-
|
27
|
-
when 200
|
28
|
-
return true
|
29
|
-
else
|
30
|
-
return false
|
31
|
-
end
|
32
|
-
}
|
24
|
+
def logout(cookies)
|
25
|
+
cookies.delete :_provider_sso_session, domain: '.local.vn'
|
26
|
+
cookies.delete :edumall_access_token, domain: '.local.vn'
|
33
27
|
end
|
34
28
|
end
|
35
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-edumall
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hoptq
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|