orange 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -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