fbauth 1.2.0.0 → 1.2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,11 +11,11 @@ module FacebookAuthFunctions
11
11
  def require_facebook_auth
12
12
  setup_facebook_auth
13
13
  if @facebook_auth.nil?
14
- redirect_to build_auth_url
14
+ redirect_to build_auth_url and return
15
15
  end
16
16
  if signed_params_present? && request.post?
17
17
  # If Facebook POST with signed_params, redirect to original URI using GET
18
- redirect_to request.request_uri
18
+ redirect_to request.request_uri and return
19
19
  end
20
20
  end
21
21
 
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: 79
4
+ hash: 77
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
9
  - 0
10
- - 0
11
- version: 1.2.0.0
10
+ - 1
11
+ version: 1.2.0.1
12
12
  platform: ruby
13
13
  authors:
14
14
  - Three Wise Men Inc.