fbauth 1.1.0.1 → 1.1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,10 +36,9 @@ private
36
36
  # If no valid session auth or params auth, last chance try the JS SDK
37
37
  data = parse_cookie
38
38
  auth = validate_and_save(data) unless data.nil?
39
+ return auth unless auth.nil?
39
40
 
40
- logger.warn("Unable to parse any security params for request - cold authentication required") unless auth
41
-
42
- return auth
41
+ logger.warn("Unable to parse any security params for request - cold authentication required")
43
42
  end
44
43
 
45
44
  def validate_and_save data
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fbauth
3
3
  version: !ruby/object:Gem::Version
4
- hash: 85
4
+ hash: 83
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
9
  - 0
10
- - 1
11
- version: 1.1.0.1
10
+ - 2
11
+ version: 1.1.0.2
12
12
  platform: ruby
13
13
  authors:
14
14
  - Three Wise Men Inc.