orange 0.0.14 → 0.0.15

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.
@@ -34,7 +34,7 @@ module Orange::Middleware
34
34
  packet['user.id'] ||= (packet.session['user.id'] || false)
35
35
  if @openid && need_to_handle?(packet)
36
36
  ret = handle_openid(packet)
37
- return ret if ret # unless handle_openid returns false, exit immediately
37
+ return ret unless ret.blank? # unless handle_openid returns false, exit immediately
38
38
  end
39
39
  unless access_allowed?(packet)
40
40
  packet.session['user.after_login'] = packet.request.path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orange
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Haslem