heyzap-authlogic-oauth 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/authlogic_oauth/session.rb +2 -1
- data/lib/authlogic_oauth/version.rb +2 -2
- metadata +2 -2
@@ -49,6 +49,7 @@ module AuthlogicOauth
|
|
49
49
|
private
|
50
50
|
|
51
51
|
def authenticating_with_oauth?
|
52
|
+
return false if authenticating_with_unauthorized_record?
|
52
53
|
# Initial request when user presses one of the button helpers
|
53
54
|
(controller.params && !controller.params[:login_with_oauth].blank?) ||
|
54
55
|
# When the oauth provider responds and we made the initial request
|
@@ -73,4 +74,4 @@ module AuthlogicOauth
|
|
73
74
|
end
|
74
75
|
end
|
75
76
|
end
|
76
|
-
end
|
77
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heyzap-authlogic-oauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Allison
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-06 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|